|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.geronimo.mail.handlers.TextHandler
public class TextHandler
| Constructor Summary | |
|---|---|
TextHandler()
|
|
TextHandler(ActivationDataFlavor dataFlavor)
Constructor TextHandler |
|
| Method Summary | |
|---|---|
protected String |
getCharSet(String contentType)
get the character set from content type |
Object |
getContent(DataSource datasource)
Method getContent |
protected ActivationDataFlavor |
getDF()
Method getDF |
Object |
getTransferData(DataFlavor dataflavor,
DataSource datasource)
Method getTransferData |
DataFlavor[] |
getTransferDataFlavors()
Method getTransferDataFlavors |
void |
writeTo(Object object,
String s,
OutputStream outputstream)
Method writeTo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextHandler()
public TextHandler(ActivationDataFlavor dataFlavor)
dataFlavor - | Method Detail |
|---|
protected ActivationDataFlavor getDF()
public DataFlavor[] getTransferDataFlavors()
getTransferDataFlavors in interface DataContentHandler
public Object getTransferData(DataFlavor dataflavor,
DataSource datasource)
throws IOException
getTransferData in interface DataContentHandlerdataflavor - datasource -
IOException
public Object getContent(DataSource datasource)
throws IOException
getContent in interface DataContentHandlerdatasource -
IOException
public void writeTo(Object object,
String s,
OutputStream outputstream)
throws IOException
writeTo in interface DataContentHandlerobject - s - outputstream -
IOException
protected String getCharSet(String contentType)
throws ParseException
contentType -
ParseException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||