MolConverter.Builder
instead.@Deprecated public static class MolConverter.Options extends MolConverter.Builder
Constructor and Description |
---|
MolConverter.Options()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addInput(File f,
String opts)
Deprecated.
|
void |
addInput(InputStream is,
String opts)
Deprecated.
|
void |
addInput(String fname,
String opts)
Deprecated.
|
MolConverter |
build()
Deprecated.
|
MolConverter.Builder |
clean(int dim)
Deprecated.
|
MolConverter.Builder |
clean(int dim,
String opts)
Deprecated.
|
void |
clear()
Deprecated.
|
protected Object |
clone()
Deprecated.
|
int |
getInputCount()
Deprecated.
|
void |
setEncodings(String enc)
Deprecated.
|
void |
setFields(String[] fields)
Deprecated.
|
void |
setOutput(File f,
String fmtopts)
Deprecated.
|
void |
setOutput(OutputStream out,
String fmtopts)
Deprecated.
|
void |
setOutput(String fname,
String fmtopts)
Deprecated.
|
void |
setOutputFlags(int outflags)
Deprecated.
|
@Deprecated public MolConverter.Options()
@Deprecated public void addInput(File f, String opts)
MolConverter.Builder
addInput
in class MolConverter.Builder
f
- the fileopts
- import options or null
@Deprecated public void addInput(InputStream is, String opts)
MolConverter.Builder
addInput
in class MolConverter.Builder
is
- the input streamopts
- import options or null
@Deprecated public void addInput(String fname, String opts)
MolConverter.Builder
addInput
in class MolConverter.Builder
fname
- the file's pathopts
- import options or null
@Deprecated public MolConverter build() throws MolFormatException, MolExportException, IOException, IllegalArgumentException
MolConverter.Builder
build
in class MolConverter.Builder
MolFormatException
- If the molecule file is in a
format that cannot be readMolExportException
- If the molecule cannot be exported
in the specified formatIOException
- If I/O error occured when determining
the file format.IllegalArgumentException
- Invalid format string (fmt).@Deprecated public MolConverter.Builder clean(int dim, String opts)
MolConverter.Builder
clean
in class MolConverter.Builder
dim
- cleaning dimension, 2 or 3opts
- cleaning options@Deprecated public MolConverter.Builder clean(int dim)
MolConverter.Builder
clean
in class MolConverter.Builder
dim
- cleaning dimension, 2 or 3@Deprecated public void clear()
MolConverter.Builder
clear
in class MolConverter.Builder
@Deprecated protected Object clone()
MolConverter.Builder
clone
in class MolConverter.Builder
@Deprecated public int getInputCount()
MolConverter.Builder
getInputCount
in class MolConverter.Builder
@Deprecated public void setEncodings(String enc)
MolConverter.Builder
setEncodings
in class MolConverter.Builder
enc
- the input and/or output encodings in
INCHARSET..OUTCHARSET format@Deprecated public void setFields(String[] fields)
MolConverter.Builder
setFields
in class MolConverter.Builder
fields
- the fields@Deprecated public void setOutput(File f, String fmtopts)
MolConverter.Builder
setOutput
in class MolConverter.Builder
f
- the output filefmtopts
- file format and options (or null
)@Deprecated public void setOutput(OutputStream out, String fmtopts)
MolConverter.Builder
setOutput
in class MolConverter.Builder
out
- the output streamfmtopts
- file format and options (or null
)@Deprecated public void setOutput(String fname, String fmtopts)
MolConverter.Builder
setOutput
in class MolConverter.Builder
fname
- the output file's pathfmtopts
- file format and options (or null
)@Deprecated public void setOutputFlags(int outflags)
MolConverter.Builder
setOutputFlags
in class MolConverter.Builder
outflags
- output flags, a combination of
MolExporter.TEXT
and MolExporter.MULTIPLE