Class CalculatorPluginOutput<P extends CalculatorPlugin>

java.lang.Object
chemaxon.calculations.CalculatorPluginService<P>
chemaxon.calculations.output.CalculatorPluginOutput<P>
All Implemented Interfaces:
CalculatorPluginOutputAccess

@PublicApi public class CalculatorPluginOutput<P extends CalculatorPlugin> extends CalculatorPluginService<P> implements CalculatorPluginOutputAccess
Class providing plugin output in table form. The default implementation provides the following output:
id<type1><type2><type3invalid input: '&gt'...
<id1><result11><result12><result13>...
<id2><result21><result22><result23>...
...............
where type1, type2, ... are the result types, id1, id2, ... are the molecule ID-s fetched from the given ID tag of the input SDF file or molecule indices if no such tag is given, the resultij is the result string for the i-th molecule and the j-th result type. Other output formats can be implemented by subclassing this class and returning the class name in the plugin-specific implementation of chemaxon.plugin.CalculatorPlugin.getOutputClassName().
Since:
Marvin 3.0
  • Field Details

    • plugin

      protected P extends CalculatorPlugin plugin
      The CalculatorPlugin object.
    • params

      protected Properties params
      The plugin parameter table.
    • separator

      protected String separator
      The separator string separating the results for different result types.
  • Constructor Details

    • CalculatorPluginOutput

      public CalculatorPluginOutput()
      Default constructor.
    • CalculatorPluginOutput

      public CalculatorPluginOutput(CalculatorPlugin plugin)
      Constructor that sets plugin.
      Parameters:
      plugin - is the plugin
  • Method Details