Package org.openscience.cdk.io.formats
Class PubChemCompoundXMLFormat
- java.lang.Object
-
- org.openscience.cdk.io.formats.AbstractResourceFormat
-
- org.openscience.cdk.io.formats.PubChemCompoundXMLFormat
-
- All Implemented Interfaces:
IChemFormat,IChemFormatMatcher,IResourceFormat
public class PubChemCompoundXMLFormat extends AbstractResourceFormat implements IChemFormatMatcher
- Source code:
- main
- Belongs to CDK module:
- ioformats
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openscience.cdk.io.formats.IChemFormatMatcher
IChemFormatMatcher.MatchResult
-
-
Field Summary
-
Fields inherited from interface org.openscience.cdk.io.formats.IChemFormatMatcher
NO_MATCH
-
-
Constructor Summary
Constructors Constructor Description PubChemCompoundXMLFormat()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFormatName()static IResourceFormatgetInstance()StringgetMIMEType()String[]getNameExtensions()StringgetPreferredNameExtension()StringgetReaderClassName()intgetRequiredDataFeatures()intgetSupportedDataFeatures()StringgetWriterClassName()booleanisXMLBased()IChemFormatMatcher.MatchResultmatches(List<String> lines)-
Methods inherited from class org.openscience.cdk.io.formats.AbstractResourceFormat
equals, hashCode
-
-
-
-
Method Detail
-
getInstance
public static IResourceFormat getInstance()
-
getFormatName
public String getFormatName()
- Specified by:
getFormatNamein interfaceIResourceFormat
-
getMIMEType
public String getMIMEType()
- Specified by:
getMIMETypein interfaceIResourceFormat
-
getPreferredNameExtension
public String getPreferredNameExtension()
- Specified by:
getPreferredNameExtensionin interfaceIResourceFormat
-
getNameExtensions
public String[] getNameExtensions()
- Specified by:
getNameExtensionsin interfaceIResourceFormat
-
getReaderClassName
public String getReaderClassName()
- Specified by:
getReaderClassNamein interfaceIChemFormat
-
getWriterClassName
public String getWriterClassName()
- Specified by:
getWriterClassNamein interfaceIChemFormat
-
isXMLBased
public boolean isXMLBased()
- Specified by:
isXMLBasedin interfaceIResourceFormat
-
getSupportedDataFeatures
public int getSupportedDataFeatures()
- Specified by:
getSupportedDataFeaturesin interfaceIChemFormat
-
getRequiredDataFeatures
public int getRequiredDataFeatures()
- Specified by:
getRequiredDataFeaturesin interfaceIChemFormat
-
matches
public IChemFormatMatcher.MatchResult matches(List<String> lines)
- Specified by:
matchesin interfaceIChemFormatMatcher
-
-