|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.processing.pipelets.MimeTypeIdentifyService
public class MimeTypeIdentifyService
The simple MIME type identifier is able to detect MIME types based on a static extension mapping.
| Field Summary | |
|---|---|
static java.lang.String |
BUNDLE_NAME
name of bundle. |
static java.lang.String |
CONFIG_FILE
name of configuration file. |
static java.lang.String |
CONTENT_ATTACHMENT
Constant for the configuration property ContentAttachment. |
static java.lang.String |
FILE_EXTENSION_ATTRIBUTE
Constant for the configuration property FileExtensionAttribute. |
static java.lang.String |
META_DATA_ATTRIBUTE
Constant for the configuration property MimeTypeAttribute. |
static java.lang.String |
MIME_TYPE_ATTRIBUTE
Constant for the configuration property MimeTypeAttribute. |
| Fields inherited from interface org.eclipse.smila.processing.ProcessingService |
|---|
PROPERTY_NAME |
| Constructor Summary | |
|---|---|
MimeTypeIdentifyService()
|
|
| Method Summary | |
|---|---|
Id[] |
process(Blackboard blackboard,
Id[] recordIds)
process records on Blackboard service. |
void |
setMimeTypeIdentifier(MimeTypeIdentifier mimeTypeIdentifier)
Sets the MimeTypeIdentifier. |
void |
unsetMimeTypeIdentifier(MimeTypeIdentifier mimeTypeIdentifier)
Set the MimeTypeIdentifier to null. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String BUNDLE_NAME
public static final java.lang.String CONFIG_FILE
public static final java.lang.String FILE_EXTENSION_ATTRIBUTE
public static final java.lang.String CONTENT_ATTACHMENT
public static final java.lang.String META_DATA_ATTRIBUTE
public static final java.lang.String MIME_TYPE_ATTRIBUTE
| Constructor Detail |
|---|
public MimeTypeIdentifyService()
| Method Detail |
|---|
public void setMimeTypeIdentifier(MimeTypeIdentifier mimeTypeIdentifier)
mimeTypeIdentifier - the mimeTypeIdentifier to setpublic void unsetMimeTypeIdentifier(MimeTypeIdentifier mimeTypeIdentifier)
mimeTypeIdentifier - the mimeTypeIdentifier to unset
public Id[] process(Blackboard blackboard,
Id[] recordIds)
throws ProcessingException
process in interface ProcessingServiceblackboard - Blackboard service managing the records.recordIds - Ids of records to process.
ProcessingException - error during processing.ProcessingService.process(Blackboard, Id[])
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||