public interface FileActionComponent
Belongs to the core of the FileProcessor.
Modifier and Type | Interface and Description |
---|---|
static class |
FileActionComponent.Operation
Possible operation detected on a file
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CURRENT_FILE_DOCUMENT
When a FileActionComponent (FileProcessor or FileParser) is invoked on the JCMS Upload repository,
the FileDocument for which it is invoked is available through the
processing context using this attribute :
FileDocument doc = (FileDocument) ctxt.get(FileActionComponent.CURRENT_FILE_DOCUMENT);
Beware that this value might be null.
|
static java.lang.String |
CURRENT_OPERATION
When a FileActionComponent (FileProcessor or FileParser) is invoked,
the operation for which it is invoked is available through the
processing context using this attribute :
FileActionComponent.Operation operation = (FileActionComponent.Operation) ctxt.get(FileActionComponent.CURRENT_OPERATION);
|
static char |
FILE_SEPARATOR |
static java.lang.String |
PROCESSING_TYPE
When a FileActionComponent (FileProcessor or FileParser) is invoked,
the type of processing for which it is invoked is available through the
processing context using this attribute :
ProcessingData.Type processingType = (ProcessingData.Type) ctxt.get(FileActionComponent.PROCESSING_TYPE);
|
static java.lang.String |
REVISION |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
More detailed description of the Parser.
|
java.lang.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).
|
static final java.lang.String REVISION
static final char FILE_SEPARATOR
static final java.lang.String CURRENT_OPERATION
FileActionComponent.Operation operation = (FileActionComponent.Operation) ctxt.get(FileActionComponent.CURRENT_OPERATION);
static final java.lang.String PROCESSING_TYPE
ProcessingData.Type processingType = (ProcessingData.Type) ctxt.get(FileActionComponent.PROCESSING_TYPE);
static final java.lang.String CURRENT_FILE_DOCUMENT
FileDocument doc = (FileDocument) ctxt.get(FileActionComponent.CURRENT_FILE_DOCUMENT);Beware that this value might be null.
java.lang.String getName()
java.lang.String getDescription()
int getOrder()
boolean isAvailable()
Copyright © 2001-2010 Jalios SA. All Rights Reserved.