Class EIDSOutputWedge

    • Field Detail

      • OUTPUT_TYPE_EQXML

        public static final java.lang.String OUTPUT_TYPE_EQXML
        String for output type of EQXML
        See Also:
        Constant Field Values
      • OUTPUT_TYPE_QUAKEML

        public static final java.lang.String OUTPUT_TYPE_QUAKEML
        String for output type of quakeml
        See Also:
        Constant Field Values
      • OUTPUT_TYPE_CUBE

        public static final java.lang.String OUTPUT_TYPE_CUBE
        String for output type of cube
        See Also:
        Constant Field Values
      • OUTPUT_DIRECTORY_PROPERTY

        public static final java.lang.String OUTPUT_DIRECTORY_PROPERTY
        Property for output directory
        See Also:
        Constant Field Values
      • TEMP_DIRECTORY_PROPERTY

        public static final java.lang.String TEMP_DIRECTORY_PROPERTY
        Property for temp directory
        See Also:
        Constant Field Values
      • FILE_NAME_PROPERTY

        public static final java.lang.String FILE_NAME_PROPERTY
        Property for file name
        See Also:
        Constant Field Values
      • OUTPUT_FORMAT_PROPERTY

        public static final java.lang.String OUTPUT_FORMAT_PROPERTY
        Property for output format
        See Also:
        Constant Field Values
      • DEFAULT_DIRECTORY

        public static final java.io.File DEFAULT_DIRECTORY
        Default output directory
      • DEFAULT_TEMP_DIRECTORY

        public static final java.io.File DEFAULT_TEMP_DIRECTORY
        Default temp directory
      • DEFAULT_OUTPUT_FORMAT

        public static final java.lang.String DEFAULT_OUTPUT_FORMAT
        Sets default output format to cube.txt
        See Also:
        Constant Field Values
    • Constructor Detail

      • EIDSOutputWedge

        public EIDSOutputWedge()
        Create a new EIDSOutputWedge. Sets up the includeTypes list to contain "origin". Override this if you want the behavior to extend past origin products.
    • Method Detail

      • onProduct

        public void onProduct​(Product product)
                       throws java.lang.Exception
        Receive a product from Product Distribution.
        Overrides:
        onProduct in class DefaultNotificationListener
        Parameters:
        product - A product
        Throws:
        java.lang.Exception - if error occurs
      • configure

        public void configure​(Config config)
                       throws java.lang.Exception
        Configuration
        Specified by:
        configure in interface Configurable
        Overrides:
        configure in class DefaultNotificationListener
        Parameters:
        config - the Config object with settings.
        Throws:
        java.lang.Exception - if configuration exceptions occur.
      • getDirectory

        public java.io.File getDirectory()
        Returns:
        directory
      • getTempDirectory

        public java.io.File getTempDirectory()
        Returns:
        tempDirectory
      • getOutputFormat

        public java.lang.String getOutputFormat()
        Returns:
        outputFormat
      • getConverter

        public LegacyConverter getConverter()
        Returns:
        legacy converter
      • setDirectory

        public void setDirectory​(java.io.File directory)
        Parameters:
        directory - file to set
      • setTempDirectory

        public void setTempDirectory​(java.io.File tempDirectory)
        Parameters:
        tempDirectory - file to set
      • setOutputFormat

        public void setOutputFormat​(java.lang.String outputFormat)
        Parameters:
        outputFormat - string to set