Class StandardizerActionFactory.Builder

java.lang.Object
chemaxon.standardizer.StandardizerActionFactory.Builder
Enclosing class:
StandardizerActionFactory

public static class StandardizerActionFactory.Builder extends Object
Builder class for StandardizerActionFactory.
Since:
6.0
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • add

      public void add(URL url) throws IOException
      Adds an input stream containing standardizer specifications to be stored by the output factory
      Parameters:
      url - a URL of an entity containing standardizer specification
      Throws:
      IOException
    • add

      public void add(InputStream inputStream)
      Adds an input stream containing standardizer specifications to be stored by the output factory
      Parameters:
      inputStream - an input stream containing standardizer specifications
    • add

      public void add(Properties properties)
      Adds a property map containing properties of standardizer actions to be stored by the output factory
      Parameters:
      properties - an input stream containing properties of standardizer actions
    • add

      Adds a standardizer action class descriptor to the factory
      Parameters:
      descriptor - the descriptor of the standardizer action class
    • build

      public StandardizerActionFactory build()
      Builds a StandardizerActionFactory based on the previously added InputStream instances
      Returns:
      the built factory