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()
RegistryEntry
getFormatName
in interface RegistryEntry
public List getStandardExtensions()
RegistryEntry
getStandardExtensions
in interface RegistryEntry
public List getMimeTypes()
RegistryEntry
getMimeTypes
in interface RegistryEntry
public float getPriority()
RegistryEntry
getPriority
in interface RegistryEntry
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.