|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.ws.encoding.StringDataContentHandler
public class StringDataContentHandler
JavaMail's data content handler for text/plain -->String
| Constructor Summary | |
|---|---|
StringDataContentHandler()
|
|
| Method Summary | |
|---|---|
Object |
getContent(DataSource ds)
|
protected ActivationDataFlavor |
getDF()
|
Object |
getTransferData(DataFlavor df,
DataSource ds)
Return the Transfer Data of type DataFlavor from InputStream. |
DataFlavor[] |
getTransferDataFlavors()
Return the DataFlavors for this DataContentHandler. |
void |
writeTo(Object obj,
String type,
OutputStream os)
Write the object to the output stream, using the specified MIME type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringDataContentHandler()
| Method Detail |
|---|
protected ActivationDataFlavor getDF()
public DataFlavor[] getTransferDataFlavors()
DataContentHandler.
getTransferDataFlavors in interface DataContentHandler
public Object getTransferData(DataFlavor df,
DataSource ds)
throws IOException
getTransferData in interface DataContentHandlerdf - The DataFlavords - The DataSource corresponding to the data
IOException
public Object getContent(DataSource ds)
throws IOException
getContent in interface DataContentHandlerIOException
public void writeTo(Object obj,
String type,
OutputStream os)
throws IOException
writeTo in interface DataContentHandlerIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||