Package org.openscience.cdk.io.formats
Class CacaoCartesianFormat
java.lang.Object
org.openscience.cdk.io.formats.AbstractResourceFormat
org.openscience.cdk.io.formats.CacaoCartesianFormat
- All Implemented Interfaces:
IChemFormat
,IResourceFormat
See here.
- Author:
- Miguel Rojas
- Source code:
- main
- Belongs to CDK module:
- ioformats
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a one-lined format name of the format.static IResourceFormat
Returns the accepted MIME type for this format.String[]
Returns an array of common resource name extensions.Returns the preferred resource name extension.Returns the class name of the CDK Reader for this format.int
Returns an integer indicating the data features that this format requires.int
Returns an integer indicating the data features that this format supports.Returns the class name of the CDK Writer for this format.boolean
Indicates if the format is an XML-based language.Methods inherited from class org.openscience.cdk.io.formats.AbstractResourceFormat
equals, hashCode
-
Constructor Details
-
CacaoCartesianFormat
public CacaoCartesianFormat()
-
-
Method Details
-
getInstance
-
getFormatName
Description copied from interface:IResourceFormat
Returns a one-lined format name of the format.- Specified by:
getFormatName
in interfaceIResourceFormat
-
getMIMEType
Description copied from interface:IResourceFormat
Returns the accepted MIME type for this format.- Specified by:
getMIMEType
in interfaceIResourceFormat
- Returns:
- null if no MIME type has been accepted on
-
getPreferredNameExtension
Description copied from interface:IResourceFormat
Returns the preferred resource name extension.- Specified by:
getPreferredNameExtension
in interfaceIResourceFormat
-
getNameExtensions
Description copied from interface:IResourceFormat
Returns an array of common resource name extensions.- Specified by:
getNameExtensions
in interfaceIResourceFormat
-
getReaderClassName
Description copied from interface:IChemFormat
Returns the class name of the CDK Reader for this format.- Specified by:
getReaderClassName
in interfaceIChemFormat
- Returns:
- null if no CDK Reader is available.
-
getWriterClassName
Description copied from interface:IChemFormat
Returns the class name of the CDK Writer for this format.- Specified by:
getWriterClassName
in interfaceIChemFormat
- Returns:
- null if no CDK Writer is available.
-
isXMLBased
public boolean isXMLBased()Description copied from interface:IResourceFormat
Indicates if the format is an XML-based language.- Specified by:
isXMLBased
in interfaceIResourceFormat
- Returns:
- if the format is XML-based.
-
getSupportedDataFeatures
public int getSupportedDataFeatures()Description copied from interface:IChemFormat
Returns an integer indicating the data features that this format supports. The integer is composed as explained in DataFeatures. May be set to DataFeatures.NONE as default.- Specified by:
getSupportedDataFeatures
in interfaceIChemFormat
- See Also:
-
getRequiredDataFeatures
public int getRequiredDataFeatures()Description copied from interface:IChemFormat
Returns an integer indicating the data features that this format requires. For example, the XYZ format requires 3D coordinates.- Specified by:
getRequiredDataFeatures
in interfaceIChemFormat
- See Also:
-