|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface should be implemented by classes that are able to take a document and returns the a String representation of the document's contents.
Method Summary | |
String |
convertDocument(byte[] document)
This takes in a document represented as a byte[] and returns a text representation of that document. |
String |
convertDocument(File document)
This takes the document and returns a String containing the contents of the document. |
String |
convertDocument(InputStream stream)
This takes in a document represented as a byte[] and returns a text representation of that document. |
MimeType[] |
getMimeTypes()
This returns an array of all MimeTypes that this converter is able to convert to a String. |
Method Detail |
public String convertDocument(InputStream stream) throws ConversionException
ConversionException
public String convertDocument(File document) throws FileNotFoundException
FileNotFoundException
public String convertDocument(byte[] document)
public MimeType[] getMimeTypes()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |