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 file
    java.util.Vector<java.io.File> getAdditionalAssets()
    returns a list of additional assets, e.g. embedded images for further processing
    java.util.Vector<java.lang.String> getExtensions()
    returns the list of supported extensions
    java.util.Hashtable<java.lang.String,​java.lang.String> getKeywords()
    returns the hashtable of keywords of a given text
    java.util.Vector<java.lang.String> getSentences()
    returns a vector of sentences as splitted text
    void 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