Module io.sf.carte.echosvg.awt
Class AbstractRegistryEntry
java.lang.Object
io.sf.carte.echosvg.ext.awt.image.spi.AbstractRegistryEntry
- All Implemented Interfaces:
- ErrorConstants,- RegistryEntry
- Direct Known Subclasses:
- JDKRegistryEntry,- MagicNumberRegistryEntry
Base class for 
RegistryEntry implementations.- 
Field SummaryFields inherited from interface io.sf.carte.echosvg.ext.awt.image.spi.ErrorConstantsERR_STREAM_FORMAT_UNREADABLE, ERR_STREAM_FORMAT_UNREADABLE_MSG, ERR_STREAM_UNREADABLE, ERR_URL_FORMAT_UNREADABLE, ERR_URL_FORMAT_UNREADABLE_MSG, ERR_URL_UNINTERPRETABLE, ERR_URL_UNREACHABLE, RESOURCES
- 
Constructor SummaryConstructorsConstructorDescriptionAbstractRegistryEntry(String name, float priority, String[] exts, String[] mimeTypes) AbstractRegistryEntry(String name, float priority, String ext, String mimeType) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected FiltergetFormatBrokenLinkImage(ParsedURL origURL) protected FiltergetFormatMsgBrokenLinkImage(ParsedURL origURL, Throwable t) Returns the name of the format.Return a List of mime types for this file format.floatReturns a search priority for this entry.Return a List of the common extensions for this file format.
- 
Constructor Details- 
AbstractRegistryEntry
- 
AbstractRegistryEntry
 
- 
- 
Method Details- 
getFormatNameDescription copied from interface:RegistryEntryReturns the name of the format. For example "JPEG", "PNG", ...- Specified by:
- getFormatNamein interface- RegistryEntry
 
- 
getStandardExtensionsDescription copied from interface:RegistryEntryReturn a List of the common extensions for this file format. The first entry in the list may be used as the default extension for writing files in this format (when we add support for writing that is). This may also be used to build a selection expression for finding files of this type.- Specified by:
- getStandardExtensionsin interface- RegistryEntry
 
- 
getMimeTypesDescription copied from interface:RegistryEntryReturn a List of mime types for this file format. The first entry in the list may be used as the default mime type.- Specified by:
- getMimeTypesin interface- RegistryEntry
 
- 
getPrioritypublic float getPriority()Description copied from interface:RegistryEntryReturns a search priority for this entry. For most formats this is not important, but in some cases it is important that some entries occur before or after others.- Specified by:
- getPriorityin interface- RegistryEntry
 
- 
getFormatBrokenLinkImage
- 
getFormatMsgBrokenLinkImage
 
-