public class MIMEEntry extends DefaultHandler implements FreedesktopResource
| Constructor and Description |
|---|
MIMEEntry(String family,
String type,
org.apache.commons.vfs2.FileObject file) |
| Modifier and Type | Method and Description |
|---|---|
static void |
addStreamableType(String mimeType)
Add a type to the list that are considered streamable, i.e.
|
Collection<String> |
getAcronyms() |
Collection<AliasEntry> |
getAliases() |
String |
getComment() |
String |
getComment(Locale locale) |
String |
getComment(String language) |
Collection<String> |
getExpandedAcronyms() |
String |
getFamilyName() |
String |
getGenericIcon() |
String |
getIcon() |
String |
getInternalName() |
String |
getName() |
String |
getName(Locale locale) |
String |
getName(String language) |
Collection<String> |
getSubclasses() |
String |
getTypeName() |
static void |
removeStreamableType(String mimeType)
Remove a type from the list that are considered streamable, i.e.
|
String |
toString() |
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warningpublic MIMEEntry(String family, String type, org.apache.commons.vfs2.FileObject file) throws IOException
IOExceptionpublic static void addStreamableType(String mimeType)
mimeType - type to addpublic static void removeStreamableType(String mimeType)
mimeType - type to removepublic String getFamilyName()
public String getTypeName()
public Collection<String> getAcronyms()
public Collection<String> getSubclasses()
public Collection<AliasEntry> getAliases()
public String getInternalName()
getInternalName in interface FreedesktopEntitypublic String getComment()
getComment in interface FreedesktopResourcepublic Collection<String> getExpandedAcronyms()
public String getComment(String language)
getComment in interface FreedesktopResourcepublic String getComment(Locale locale)
getComment in interface FreedesktopResourcepublic String getName()
getName in interface FreedesktopResourcepublic String getName(Locale locale)
getName in interface FreedesktopResourcepublic String getName(String language)
getName in interface FreedesktopResourcepublic String getIcon()
public String getGenericIcon()
Copyright © 2016. All rights reserved.