public class MDLRXNV2000Format extends AbstractResourceFormat implements IChemFormatMatcher
IChemFormatMatcher.MatchResult
NO_MATCH
Constructor and Description |
---|
MDLRXNV2000Format() |
Modifier and Type | Method and Description |
---|---|
String |
getFormatName()
Returns a one-lined format name of the format.
|
static IResourceFormat |
getInstance() |
String |
getMIMEType()
Returns the accepted MIME type for this format.
|
String[] |
getNameExtensions()
Returns an array of common resource name extensions.
|
String |
getPreferredNameExtension()
Returns the preferred resource name extension.
|
String |
getReaderClassName()
Returns the class name of the CDK Reader for this format.
|
int |
getRequiredDataFeatures()
Returns an integer indicating the data features that this
format requires.
|
int |
getSupportedDataFeatures()
Returns an integer indicating the data features that this
format supports.
|
String |
getWriterClassName()
Returns the class name of the CDK Writer for this format.
|
boolean |
isXMLBased()
Indicates if the format is an XML-based language.
|
IChemFormatMatcher.MatchResult |
matches(List<String> lines)
Method that checks whether the given lines are part of the format read by
this reader.
|
equals, hashCode
public static IResourceFormat getInstance()
public String getFormatName()
getFormatName
in interface IResourceFormat
public String getMIMEType()
getMIMEType
in interface IResourceFormat
public String getPreferredNameExtension()
getPreferredNameExtension
in interface IResourceFormat
public String[] getNameExtensions()
getNameExtensions
in interface IResourceFormat
public String getReaderClassName()
getReaderClassName
in interface IChemFormat
public String getWriterClassName()
getWriterClassName
in interface IChemFormat
public IChemFormatMatcher.MatchResult matches(List<String> lines)
matches
in interface IChemFormatMatcher
lines
- lines of the input to be checkedpublic boolean isXMLBased()
isXMLBased
in interface IResourceFormat
public int getSupportedDataFeatures()
getSupportedDataFeatures
in interface IChemFormat
DataFeatures
public int getRequiredDataFeatures()
getRequiredDataFeatures
in interface IChemFormat
DataFeatures
Copyright © 2021. All rights reserved.