public class SVGFormat extends Object implements IResourceFormat
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.
|
boolean |
isXMLBased()
Indicates if the format is an XML-based language.
|
@TestMethod(value="testResourceFormatSet") public static IResourceFormat getInstance()
@TestMethod(value="testGetFormatName") public String getFormatName()
IResourceFormat
getFormatName
in interface IResourceFormat
@TestMethod(value="testGetMIMEType") public String getMIMEType()
IResourceFormat
getMIMEType
in interface IResourceFormat
@TestMethod(value="testGetPreferredNameExtension") public String getPreferredNameExtension()
IResourceFormat
getPreferredNameExtension
in interface IResourceFormat
@TestMethod(value="testGetNameExtensions") public String[] getNameExtensions()
IResourceFormat
getNameExtensions
in interface IResourceFormat
@TestMethod(value="testIsXMLBased") public boolean isXMLBased()
IResourceFormat
isXMLBased
in interface IResourceFormat