Package org.openscience.cdk.io.formats
Class SVGFormat
- java.lang.Object
-
- org.openscience.cdk.io.formats.AbstractResourceFormat
-
- org.openscience.cdk.io.formats.SVGFormat
-
- All Implemented Interfaces:
IResourceFormat
public class SVGFormat extends AbstractResourceFormat implements IResourceFormat
- Source code:
- main
- Belongs to CDK module:
- ioformats
-
-
Constructor Summary
Constructors Constructor Description SVGFormat()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.boolean
isXMLBased()
Indicates if the format is an XML-based language.-
Methods inherited from class org.openscience.cdk.io.formats.AbstractResourceFormat
equals, hashCode
-
-
-
-
Method Detail
-
getInstance
public static IResourceFormat getInstance()
-
getFormatName
public String getFormatName()
Returns a one-lined format name of the format.- Specified by:
getFormatName
in interfaceIResourceFormat
-
getMIMEType
public String getMIMEType()
Returns the accepted MIME type for this format.- Specified by:
getMIMEType
in interfaceIResourceFormat
- Returns:
- null if no MIME type has been accepted on
-
getPreferredNameExtension
public String getPreferredNameExtension()
Returns the preferred resource name extension.- Specified by:
getPreferredNameExtension
in interfaceIResourceFormat
-
getNameExtensions
public String[] getNameExtensions()
Returns an array of common resource name extensions.- Specified by:
getNameExtensions
in interfaceIResourceFormat
-
isXMLBased
public boolean isXMLBased()
Indicates if the format is an XML-based language.- Specified by:
isXMLBased
in interfaceIResourceFormat
- Returns:
- if the format is XML-based.
-
-