|
Oracle | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.compoze.util.InputStreamDataSource
public class InputStreamDataSource
This class implements a data source for strings.
| Constructor Summary | |
|---|---|
InputStreamDataSource(java.io.InputStream is,
java.lang.String sContentType,
java.lang.String sName)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getContentType()
Get the content-type of the data. |
java.io.InputStream |
getInputStream()
Get an input stream to the data. |
java.lang.String |
getName()
Get the name. |
java.io.OutputStream |
getOutputStream()
Get an output stream to the data (not supported). |
void |
setContentType(java.lang.String sContentType)
Set the content-type of the data. |
void |
setName(java.lang.String sName)
Set the name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InputStreamDataSource(java.io.InputStream is,
java.lang.String sContentType,
java.lang.String sName)
is - the input stream to the datasContentType - sName - the display name| Method Detail |
|---|
public java.lang.String getContentType()
public void setContentType(java.lang.String sContentType)
sContentType - the content-type of the datapublic java.lang.String getName()
public void setName(java.lang.String sName)
sName - the namepublic java.io.InputStream getInputStream()
public java.io.OutputStream getOutputStream()
throws java.io.IOException
java.io.IOException - always thrown because operation not supported
|
Oracle | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||