|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectautohit.universe.UniverseDataSource
A Universe Data Source useable by the activation framework. This is a lightweight implementation. It is not valid until init(...) is called.
EPG - New - 8Aug03
Field Summary | |
java.lang.String |
name
Name of this universe object. |
Universe |
uni
Owning universe. |
Constructor Summary | |
UniverseDataSource()
Default Constructor. |
Method Summary | |
java.lang.String |
getContentType()
Get the content type. |
java.io.InputStream |
getInputStream()
Get the InputStream for this source. |
java.lang.String |
getName()
Get the underlying object descriptor. |
java.io.OutputStream |
getOutputStream()
Get the OutStream for this source. |
void |
init(java.lang.String uniObj,
Universe u)
Initializer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.String name
public Universe uni
Constructor Detail |
public UniverseDataSource()
Method Detail |
public void init(java.lang.String uniObj, Universe u)
uniObj
- name of the universe object to source.u
- the universe to source from.public java.io.InputStream getInputStream() throws java.io.IOException
getInputStream
in interface javax.activation.DataSource
java.io.IOException
public java.io.OutputStream getOutputStream() throws java.io.IOException
getOutputStream
in interface javax.activation.DataSource
java.io.IOException
public java.lang.String getContentType()
getContentType
in interface javax.activation.DataSource
public java.lang.String getName()
getName
in interface javax.activation.DataSource
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |