public abstract class AbstractRegistryEntry extends Object implements RegistryEntry, ErrorConstants
ERR_STREAM_FORMAT_UNREADABLE, ERR_STREAM_UNREADABLE, ERR_URL_FORMAT_UNREADABLE, ERR_URL_UNINTERPRETABLE, ERR_URL_UNREACHABLE, RESOURCES| Constructor and Description |
|---|
AbstractRegistryEntry(String name,
float priority,
String[] exts,
String[] mimeTypes) |
AbstractRegistryEntry(String name,
float priority,
String ext,
String mimeType) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFormatName()
Returns the name of the format.
|
List |
getMimeTypes()
Return a List of mime types for this file format.
|
float |
getPriority()
Returns a search priority for this entry.
|
List |
getStandardExtensions()
Return a List of the common extensions for this file format.
|
public AbstractRegistryEntry(String name, float priority, String[] exts, String[] mimeTypes)
public String getFormatName()
RegistryEntrygetFormatName in interface RegistryEntrypublic List getStandardExtensions()
RegistryEntrygetStandardExtensions in interface RegistryEntrypublic List getMimeTypes()
RegistryEntrygetMimeTypes in interface RegistryEntrypublic float getPriority()
RegistryEntrygetPriority in interface RegistryEntryCopyright © 2000–2021 Apache Software Foundation. All rights reserved.