|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
com.essbase.eas.ui.email.StringDataSource
public class StringDataSource
| Constructor Summary | |
|---|---|
StringDataSource(byte[] data, java.lang.String type, java.lang.String name)Create a datasource from a byte array. |
|
StringDataSource(java.io.InputStream is, java.lang.String type, java.lang.String name)Create a datasource from an input stream. |
|
StringDataSource(java.lang.String data, java.lang.String type, java.lang.String name, java.lang.String charset)Create a datasource from a String. |
|
| Method Summary | |
|---|---|
void |
dispose() |
java.lang.String |
getContentType()Get the content type. |
java.io.InputStream |
getInputStream()Get the input stream. |
java.lang.String |
getName()Get the name. |
java.io.OutputStream |
getOutputStream()Get the output stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringDataSource(byte[] data,
java.lang.String type,
java.lang.String name)
data - A byte[].type - A String representing a Mime Content-Typename - A String the name for this attachment
public StringDataSource(java.io.InputStream is,
java.lang.String type,
java.lang.String name)
is - An InputStream.type - A String.name - A String representing the name of this attachment
public StringDataSource(java.lang.String data,
java.lang.String type,
java.lang.String name,
java.lang.String charset)
data - A String.type - A String.| Method Detail |
|---|
public java.lang.String getContentType()
getContentType in interface javax.activation.DataSource
public java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in interface javax.activation.DataSourceIOException.java.io.IOExceptionpublic java.lang.String getName()
getName in interface javax.activation.DataSource
public java.io.OutputStream getOutputStream()
throws java.io.IOException
getOutputStream in interface javax.activation.DataSourceIOException.java.io.IOExceptionpublic void dispose()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||