Package chemaxon.formats
Class MolConverter.Options
java.lang.Object
chemaxon.formats.MolConverter.Builder
chemaxon.formats.MolConverter.Options
- Enclosing class:
- MolConverter
@Deprecated(forRemoval=true)
@SubjectToRemoval(date=JUL_01_2025)
public static class MolConverter.Options
extends MolConverter.Builder
Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Summary
ConstructorDescriptionOptions()
Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated, for removal: This API element is subject to removal in a future version.void
addInput
(InputStream is, String opts) Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.build()
Deprecated, for removal: This API element is subject to removal in a future version.clean
(int dim) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.void
clear()
Deprecated, for removal: This API element is subject to removal in a future version.protected Object
clone()
Deprecated, for removal: This API element is subject to removal in a future version.int
Deprecated, for removal: This API element is subject to removal in a future version.void
setEncodings
(String enc) Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.void
setOutput
(OutputStream out, String fmtopts) Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.void
setOutputFlags
(int outflags) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
Options
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
addInput
@Deprecated(forRemoval=true) @SubjectToRemoval(date=JUL_01_2025) public void addInput(File f, String opts) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:MolConverter.Builder
Adds an input file.- Overrides:
addInput
in classMolConverter.Builder
- Parameters:
f
- the fileopts
- import options ornull
-
addInput
@Deprecated(forRemoval=true) @SubjectToRemoval(date=JUL_01_2025) public void addInput(InputStream is, String opts) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:MolConverter.Builder
Adds an input stream.- Overrides:
addInput
in classMolConverter.Builder
- Parameters:
is
- the input streamopts
- import options ornull
-
addInput
@Deprecated(forRemoval=true) @SubjectToRemoval(date=JUL_01_2025) public void addInput(String fname, String opts) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:MolConverter.Builder
Adds an input file.- Overrides:
addInput
in classMolConverter.Builder
- Parameters:
fname
- the file's pathopts
- import options ornull
-
build
@Deprecated(forRemoval=true) @SubjectToRemoval(date=JUL_01_2025) public MolConverter build() throws IOException, IllegalArgumentExceptionDeprecated, for removal: This API element is subject to removal in a future version.Description copied from class:MolConverter.Builder
Builds the MolConverter.- Overrides:
build
in classMolConverter.Builder
- Returns:
- the new MolConverter
- Throws:
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 occurred when determining the file format.IllegalArgumentException
- Invalid format string (fmt).
-
clean
@Deprecated(forRemoval=true) @SubjectToRemoval(date=JUL_01_2025) public MolConverter.Builder clean(int dim, String opts) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:MolConverter.Builder
Enables cleaning.- Overrides:
clean
in classMolConverter.Builder
- Parameters:
dim
- cleaning dimension, 2 or 3opts
- cleaning options- Returns:
- this builder object
-
clean
@Deprecated(forRemoval=true) @SubjectToRemoval(date=JUL_01_2025) public MolConverter.Builder clean(int dim) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:MolConverter.Builder
Enables cleaning.- Overrides:
clean
in classMolConverter.Builder
- Parameters:
dim
- cleaning dimension, 2 or 3- Returns:
- this builder object
-
clear
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:MolConverter.Builder
Clears all settings.- Overrides:
clear
in classMolConverter.Builder
-
clone
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:MolConverter.Builder
Clones the object.- Overrides:
clone
in classMolConverter.Builder
-
getInputCount
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:MolConverter.Builder
Gets the number of input files/streams.- Overrides:
getInputCount
in classMolConverter.Builder
- Returns:
- the number of input files/streams
-
setEncodings
@Deprecated(forRemoval=true) @SubjectToRemoval(date=JUL_01_2025) public void setEncodings(String enc) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:MolConverter.Builder
Sets the input and/or output encoding.- Overrides:
setEncodings
in classMolConverter.Builder
- Parameters:
enc
- the input and/or output encodings in INCHARSET..OUTCHARSET format
-
setFields
@Deprecated(forRemoval=true) @SubjectToRemoval(date=JUL_01_2025) public void setFields(String[] fields) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:MolConverter.Builder
Sets the included fields to be shown in a table.- Overrides:
setFields
in classMolConverter.Builder
- Parameters:
fields
- the fields
-
setOutput
@Deprecated(forRemoval=true) @SubjectToRemoval(date=JUL_01_2025) public void setOutput(File f, String fmtopts) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:MolConverter.Builder
Sets the output file.- Overrides:
setOutput
in classMolConverter.Builder
- Parameters:
f
- the output filefmtopts
- file format and options (ornull
)
-
setOutput
@Deprecated(forRemoval=true) @SubjectToRemoval(date=JUL_01_2025) public void setOutput(OutputStream out, String fmtopts) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:MolConverter.Builder
Sets the output stream.- Overrides:
setOutput
in classMolConverter.Builder
- Parameters:
out
- the output streamfmtopts
- file format and options (ornull
)
-
setOutput
@Deprecated(forRemoval=true) @SubjectToRemoval(date=JUL_01_2025) public void setOutput(String fname, String fmtopts) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:MolConverter.Builder
Sets the output file.- Overrides:
setOutput
in classMolConverter.Builder
- Parameters:
fname
- the output file's pathfmtopts
- file format and options (ornull
)
-
setOutputFlags
@Deprecated(forRemoval=true) @SubjectToRemoval(date=JUL_01_2025) public void setOutputFlags(int outflags) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:MolConverter.Builder
Sets output flags.- Overrides:
setOutputFlags
in classMolConverter.Builder
- Parameters:
outflags
- output flags, a combination ofMolExporter.TEXT
andMolExporter.MULTIPLE
-
MolConverter.Builder
instead.