Class StreamAnalysisNode


  • public class StreamAnalysisNode
    extends Node
    This Node analyzes a stream's content and tries to find out the content's MIME type with the jadice filetype analyzer.

    For known streams, the analysis will yield stream meta-data including the MIME-type, description and, if available, stream meta-data from the stream itself.

    The analysis result is stored in the properties of the stream descriptor and can be retrieved with the key PROPERTY_NAME

    • Constructor Detail

      • StreamAnalysisNode

        public StreamAnalysisNode()
    • Method Detail

      • getWorkerClassName

        public String getWorkerClassName()
        Description copied from class: Node
        Return the node's associated com.levigo.jadice.server.core.NodeWorker full qualified class's name. By default, the worker class name is
        • The same as the node name with the trailing "Node" replaced by "Worker" if the node name ends in "Node"
        • The node class name with an appended "Worker" otherwise.
        The package name of the worker class is the name of the Node's package with an appended ".worker".

        This behavior can be overridden in concrete subclasses.

        Overrides:
        getWorkerClassName in class Node
        Returns:
        the full qualified class name of the worker of this node.
      • getTypeDatabase

        public URI getTypeDatabase()
        Returns:
        the file type database location
      • setTypeDatabase

        public void setTypeDatabase​(URI location)
        Set the file type database location.
        Parameters:
        location - the database location