|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.search.converter.BaseConverter
This class provides the mechanism to perform a conversion from Excel to standard text
Constructor Summary | |
BaseConverter()
|
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. |
protected abstract String[] |
getFileExtensions()
Returns a string array representing all of the files types used by the given converter |
MimeType[] |
getMimeTypes()
This returns an array of all MimeTypes that this converter is able to convert to a String. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.arsdigita.search.converter.Converter |
convertDocument |
Constructor Detail |
public BaseConverter()
Method Detail |
public String convertDocument(byte[] document)
convertDocument
in interface Converter
public String convertDocument(File document) throws FileNotFoundException
convertDocument
in interface Converter
FileNotFoundException
protected abstract String[] getFileExtensions()
public MimeType[] getMimeTypes()
getMimeTypes
in interface Converter
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |