|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileActionComponent
This interface defines the way a Parser or a Processor must be implemented.
Belongs to the core of the FileProcessor.
Nested Class Summary | |
---|---|
static class |
FileActionComponent.Operation
Possible operation detected on a file |
Field Summary | |
---|---|
static String |
CURRENT_OPERATION
When a FileActionComponent (FileProcessor or FileParser) is invoked, the operation for which it is invoked is availble through the processing context using this attribute : |
static char |
FILE_SEPARATOR
|
static String |
REVISION
|
Method Summary | |
---|---|
String |
getDescription()
More detailed description of the Parser. |
String |
getName()
Name of the Parser. |
int |
getOrder()
Used to schedule the FileProcessors while treating a file. |
boolean |
isAvailable()
A processor or parser may be unavailable (for instance because of a network connection down). |
Field Detail |
---|
static final String REVISION
static final char FILE_SEPARATOR
static final String CURRENT_OPERATION
FileActionComponent.Operation operation = (FileActionComponent.Operation) ctxt.get(FileActionComponent.CURRENT_OPERATION);
Method Detail |
---|
String getName()
String getDescription()
int getOrder()
boolean isAvailable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |