Package org.openscience.cdk.io.formats
Interface IResourceFormat
- All Known Subinterfaces:
IChemFormat
,IChemFormatMatcher
- All Known Implementing Classes:
ABINITFormat
,AbstractResourceFormat
,Aces2Format
,ADFFormat
,AlchemyFormat
,BGFFormat
,BSFormat
,CacaoCartesianFormat
,CacaoInternalFormat
,CACheFormat
,CDKOWLFormat
,CDKSourceCodeFormat
,Chem3D_Cartesian_1Format
,Chem3D_Cartesian_2Format
,ChemDrawFormat
,ChemtoolFormat
,CIFFormat
,CMLFormat
,CMLRSSFormat
,CRK2DFormat
,CRK3DFormat
,CrystClustFormat
,CTXFormat
,DaltonFormat
,DMol3Format
,DOCK5Format
,FenskeHall_ZMatrixFormat
,FingerprintFormat
,GamessFormat
,Gaussian03Format
,Gaussian90Format
,Gaussian92Format
,Gaussian94Format
,Gaussian95Format
,Gaussian98Format
,GaussianInputFormat
,GhemicalMMFormat
,GhemicalSPMFormat
,GROMOS96Format
,HINFormat
,INChIFormat
,INChIPlainTextFormat
,JaguarFormat
,JMEFormat
,MacroModelFormat
,MDLFormat
,MDLRXNFormat
,MDLRXNV2000Format
,MDLRXNV3000Format
,MDLV2000Format
,MDLV3000Format
,MMODFormat
,Mol2Format
,MOPAC2002Format
,MOPAC2007Format
,MOPAC2009Format
,MOPAC2012Format
,MOPAC7Format
,MOPAC7InputFormat
,MOPAC93Format
,MOPAC97Format
,MoSSOutputFormat
,MPQCFormat
,NWChemFormat
,PCModelFormat
,PDBFormat
,PDBMLFormat
,PMPFormat
,POVRayFormat
,PQSChemFormat
,PubChemASNFormat
,PubChemCompoundsXMLFormat
,PubChemCompoundXMLFormat
,PubChemFormat
,PubChemSubstancesASNFormat
,PubChemSubstancesXMLFormat
,PubChemSubstanceXMLFormat
,QChemFormat
,RawCopyFormat
,RGroupQueryFormat
,SDFFormat
,ShelXFormat
,SMARTSFormat
,SMILESFIXFormat
,SMILESFormat
,SpartanFormat
,SVGFormat
,SybylDescriptorFormat
,TinkerMM2Format
,TinkerXYZFormat
,TurboMoleFormat
,UniChemXYZFormat
,VASPFormat
,ViewmolFormat
,XEDFormat
,XYZFormat
,YasaraFormat
,ZindoFormat
,ZMatrixFormat
public interface IResourceFormat
This class is the interface that all ResourceFormat's should implement.
An implementation is supposed to be a singleton class, so it should have
only private constructors, and implement the getInstance() method.
- Author:
- Egon Willighagen <egonw@users.sf.net>
- Source code:
- main
- Belongs to CDK module:
- ioformats
- Created on:
- 2006-03-04
-
Method Summary
Modifier and TypeMethodDescriptionReturns a one-lined format name of the format.Returns the accepted MIME type for this format.String[]
Returns an array of common resource name extensions.Returns the preferred resource name extension.boolean
Indicates if the format is an XML-based language.
-
Method Details
-
getFormatName
String getFormatName()Returns a one-lined format name of the format. -
getPreferredNameExtension
String getPreferredNameExtension()Returns the preferred resource name extension. -
getNameExtensions
String[] getNameExtensions()Returns an array of common resource name extensions. -
getMIMEType
String getMIMEType()Returns the accepted MIME type for this format.- Returns:
- null if no MIME type has been accepted on
-
isXMLBased
boolean isXMLBased()Indicates if the format is an XML-based language.- Returns:
- if the format is XML-based.
-