public class DefaultAliasService extends AbstractFreedesktopService<AliasEntry> implements AliasService
bases, basesList| Constructor and Description |
|---|
DefaultAliasService() |
| Modifier and Type | Method and Description |
|---|---|
AliasEntry |
getAliasEntryForAlias(String mimeType) |
AliasEntry |
getAliasEntryForMimeType(String mimeType) |
void |
removeBase(org.apache.commons.vfs2.FileObject base)
Remove a directory from the list that is is searched.
|
protected Collection<AliasEntry> |
scanBase(org.apache.commons.vfs2.FileObject base) |
addBase, checkAndAddBase, checkAndAddBase, getAllEntities, getBases, getBasesInReverse, getEntities, getEntity, listDirsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddBase, getAllEntities, getBases, getEntities, getEntityprotected Collection<AliasEntry> scanBase(org.apache.commons.vfs2.FileObject base) throws IOException
scanBase in class AbstractFreedesktopService<AliasEntry>IOExceptionpublic void removeBase(org.apache.commons.vfs2.FileObject base)
FreedesktopServiceremoveBase in interface FreedesktopService<AliasEntry>removeBase in class AbstractFreedesktopService<AliasEntry>base - base directory to remove from the list that is searched#addBase(File)public AliasEntry getAliasEntryForMimeType(String mimeType)
getAliasEntryForMimeType in interface AliasServicepublic AliasEntry getAliasEntryForAlias(String mimeType)
getAliasEntryForAlias in interface AliasServiceCopyright © 2016. All rights reserved.