chemaxon.formats
Class MolConverter.Options

java.lang.Object
  extended by chemaxon.formats.MolConverter.Builder
      extended by chemaxon.formats.MolConverter.Options
Enclosing class:
MolConverter

Deprecated. as of Marvin 5.2.3, use MolConverter.Builder instead.

@Deprecated
public static class MolConverter.Options
extends MolConverter.Builder


Constructor Summary
MolConverter.Options()
          Deprecated. 
 
Method Summary
 void addInput(java.io.File f, java.lang.String opts)
          Deprecated. 
 void addInput(java.io.InputStream is, java.lang.String opts)
          Deprecated. 
 void addInput(java.lang.String fname, java.lang.String opts)
          Deprecated. 
 MolConverter build()
          Deprecated. 
 MolConverter.Builder clean(int dim)
          Deprecated. 
 MolConverter.Builder clean(int dim, java.lang.String opts)
          Deprecated. 
 void clear()
          Deprecated. 
protected  java.lang.Object clone()
          Deprecated. 
 int getInputCount()
          Deprecated. 
 void setEncodings(java.lang.String enc)
          Deprecated. 
 void setFields(java.lang.String[] fields)
          Deprecated. 
 void setOutput(java.io.File f, java.lang.String fmtopts)
          Deprecated. 
 void setOutput(java.io.OutputStream out, java.lang.String fmtopts)
          Deprecated. 
 void setOutput(java.lang.String fname, java.lang.String fmtopts)
          Deprecated. 
 void setOutputFlags(int outflags)
          Deprecated. 
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MolConverter.Options

@Deprecated
public MolConverter.Options()
Deprecated. 

Method Detail

addInput

@Deprecated
public void addInput(java.io.File f,
                                java.lang.String opts)
Deprecated. 

Description copied from class: MolConverter.Builder
Adds an input file.

Overrides:
addInput in class MolConverter.Builder
Parameters:
f - the file
opts - import options or null

addInput

@Deprecated
public void addInput(java.io.InputStream is,
                                java.lang.String opts)
Deprecated. 

Description copied from class: MolConverter.Builder
Adds an input stream.

Overrides:
addInput in class MolConverter.Builder
Parameters:
is - the input stream
opts - import options or null

addInput

@Deprecated
public void addInput(java.lang.String fname,
                                java.lang.String opts)
Deprecated. 

Description copied from class: MolConverter.Builder
Adds an input file.

Overrides:
addInput in class MolConverter.Builder
Parameters:
fname - the file's path
opts - import options or null

build

@Deprecated
public MolConverter build()
                   throws MolFormatException,
                          MolExportException,
                          java.io.IOException,
                          java.lang.IllegalArgumentException
Deprecated. 

Description copied from class: MolConverter.Builder
Builds the MolConverter.

Overrides:
build in class MolConverter.Builder
Returns:
the new MolConverter
Throws:
MolFormatException - If the molecule file is in a format that cannot be read
MolExportException - If the molecule cannot be exported in the specified format
java.io.IOException - If I/O error occured when determining the file format.
java.lang.IllegalArgumentException - Invalid format string (fmt).

clean

@Deprecated
public MolConverter.Builder clean(int dim,
                                             java.lang.String opts)
Deprecated. 

Description copied from class: MolConverter.Builder
Enables cleaning.

Overrides:
clean in class MolConverter.Builder
Parameters:
dim - cleaning dimension, 2 or 3
opts - cleaning options
Returns:
this builder object

clean

@Deprecated
public MolConverter.Builder clean(int dim)
Deprecated. 

Description copied from class: MolConverter.Builder
Enables cleaning.

Overrides:
clean in class MolConverter.Builder
Parameters:
dim - cleaning dimension, 2 or 3
Returns:
this builder object

clear

@Deprecated
public void clear()
Deprecated. 

Description copied from class: MolConverter.Builder
Clears all settings.

Overrides:
clear in class MolConverter.Builder

clone

@Deprecated
protected java.lang.Object clone()
Deprecated. 

Description copied from class: MolConverter.Builder
Clones the object.

Overrides:
clone in class MolConverter.Builder

getInputCount

@Deprecated
public int getInputCount()
Deprecated. 

Description copied from class: MolConverter.Builder
Gets the number of input files/streams.

Overrides:
getInputCount in class MolConverter.Builder
Returns:
the number of input files/streams

setEncodings

@Deprecated
public void setEncodings(java.lang.String enc)
Deprecated. 

Description copied from class: MolConverter.Builder
Sets the input and/or output encoding.

Overrides:
setEncodings in class MolConverter.Builder
Parameters:
enc - the input and/or output encodings in INCHARSET..OUTCHARSET format

setFields

@Deprecated
public void setFields(java.lang.String[] fields)
Deprecated. 

Description copied from class: MolConverter.Builder
Sets the included fields to be shown in a table.

Overrides:
setFields in class MolConverter.Builder
Parameters:
fields - the fields

setOutput

@Deprecated
public void setOutput(java.io.File f,
                                 java.lang.String fmtopts)
Deprecated. 

Description copied from class: MolConverter.Builder
Sets the output file.

Overrides:
setOutput in class MolConverter.Builder
Parameters:
f - the output file
fmtopts - file format and options (or null)

setOutput

@Deprecated
public void setOutput(java.io.OutputStream out,
                                 java.lang.String fmtopts)
Deprecated. 

Description copied from class: MolConverter.Builder
Sets the output stream.

Overrides:
setOutput in class MolConverter.Builder
Parameters:
out - the output stream
fmtopts - file format and options (or null)

setOutput

@Deprecated
public void setOutput(java.lang.String fname,
                                 java.lang.String fmtopts)
Deprecated. 

Description copied from class: MolConverter.Builder
Sets the output file.

Overrides:
setOutput in class MolConverter.Builder
Parameters:
fname - the output file's path
fmtopts - file format and options (or null)

setOutputFlags

@Deprecated
public void setOutputFlags(int outflags)
Deprecated. 

Description copied from class: MolConverter.Builder
Sets output flags.

Overrides:
setOutputFlags in class MolConverter.Builder
Parameters:
outflags - output flags, a combination of MolExporter.TEXT and MolExporter.MULTIPLE