public interface FileParser extends FileActionComponent
FileActionComponent.Operation
CURRENT_FILE_DOCUMENT, CURRENT_OPERATION, FILE_SEPARATOR, PROCESSING_TYPE, REVISION
Modifier and Type | Method and Description |
---|---|
java.lang.String |
extractText(java.io.File file,
java.util.Map<java.lang.String,java.lang.Object> ctxt)
Parsers have to implement at least this method which exctract the
text from the specified file and returns it.
|
getDescription, getName, getOrder, isAvailable
java.lang.String extractText(java.io.File file, java.util.Map<java.lang.String,java.lang.Object> ctxt) throws ProcessingException
file
- the file to parsectxt
- a Map to share informations between processings.ProcessingException
- if the text could not be extracted.Copyright © 2001-2017 Jalios SA. All Rights Reserved.