Interface FileExtensionPlugin
- All Known Implementing Classes:
AudioTranscriber
,DOCX_ExtensionPlugin
,RSS_ExtensionPlugin
,TXT_ExtensionPlugin
,VideoExtractor
,WAPO_ExtensionPlugin
public interface FileExtensionPlugin
interface to define file extensions
-
Method Summary
Modifier and Type Method Description boolean
canProcess(java.io.File f)
returns, if a plugin can process a given filejava.util.Vector<java.io.File>
getAdditionalAssets()
returns a list of additional assets, e.g. embedded images for further processingjava.util.Vector<java.lang.String>
getExtensions()
returns the list of supported extensionsjava.util.Hashtable<java.lang.String,java.lang.String>
getKeywords()
returns the hashtable of keywords of a given textjava.util.Vector<java.lang.String>
getSentences()
returns a vector of sentences as splitted textvoid
process()
processes a the file
-
Method Details
-
canProcess
boolean canProcess(java.io.File f)returns, if a plugin can process a given file -
getSentences
java.util.Vector<java.lang.String> getSentences()returns a vector of sentences as splitted text -
getKeywords
java.util.Hashtable<java.lang.String,java.lang.String> getKeywords()returns the hashtable of keywords of a given text -
getAdditionalAssets
java.util.Vector<java.io.File> getAdditionalAssets()returns a list of additional assets, e.g. embedded images for further processing -
getExtensions
java.util.Vector<java.lang.String> getExtensions()returns the list of supported extensions -
process
void process()processes a the file
-