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
ConstructorsConstructorDescriptionOptions()Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated, for removal: This API element is subject to removal in a future version.voidaddInput(InputStream is, String opts) Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, 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.voidclear()Deprecated, for removal: This API element is subject to removal in a future version.protected Objectclone()Deprecated, for removal: This API element is subject to removal in a future version.intDeprecated, for removal: This API element is subject to removal in a future version.voidsetEncodings(String enc) Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.voidsetOutput(OutputStream out, String fmtopts) Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.voidsetOutputFlags(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.BuilderAdds an input file.- Overrides:
addInputin 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.BuilderAdds an input stream.- Overrides:
addInputin 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.BuilderAdds an input file.- Overrides:
addInputin 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.BuilderBuilds the MolConverter.- Overrides:
buildin classMolConverter.Builder- Returns:
- the new MolConverter
- Throws:
IOException- 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.BuilderEnables cleaning.- Overrides:
cleanin 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.BuilderEnables cleaning.- Overrides:
cleanin 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.BuilderClears all settings.- Overrides:
clearin classMolConverter.Builder
-
clone
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:MolConverter.BuilderClones the object.- Overrides:
clonein classMolConverter.Builder
-
getInputCount
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:MolConverter.BuilderGets the number of input files/streams.- Overrides:
getInputCountin 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.BuilderSets the input and/or output encoding.- Overrides:
setEncodingsin 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.BuilderSets the included fields to be shown in a table.- Overrides:
setFieldsin 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.BuilderSets the output file.- Overrides:
setOutputin 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.BuilderSets the output stream.- Overrides:
setOutputin 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.BuilderSets the output file.- Overrides:
setOutputin 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.BuilderSets output flags.- Overrides:
setOutputFlagsin classMolConverter.Builder- Parameters:
outflags- output flags, a combination ofMolExporter.TEXTandMolExporter.MULTIPLE
-
MolConverter.Builderinstead.