public abstract class AbstractFreedesktopEntity extends Object implements FreedesktopResource
| Constructor and Description |
|---|
AbstractFreedesktopEntity(String entityTypeName,
org.apache.commons.vfs2.FileObject... base) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkLoaded() |
org.apache.commons.vfs2.FileObject |
getBase() |
List<org.apache.commons.vfs2.FileObject> |
getBases() |
String |
getComment() |
String |
getComment(Locale locale) |
String |
getComment(String language) |
String |
getInternalName() |
protected String |
getLocalisableField(String key,
String language) |
String |
getName() |
String |
getName(Locale locale) |
String |
getName(String language) |
protected void |
init(org.apache.commons.vfs2.FileObject... bases) |
protected abstract void |
initFromProperties(INIFile iniFile,
Properties properties) |
protected boolean |
isLoaded() |
protected abstract void |
load() |
void |
load(org.apache.commons.vfs2.FileObject file) |
void |
load(InputStream in) |
protected void |
loadDefaults() |
String |
toString() |
protected String example
public AbstractFreedesktopEntity(String entityTypeName, org.apache.commons.vfs2.FileObject... base)
public String getInternalName()
getInternalName in interface FreedesktopEntitypublic String getName()
getName in interface FreedesktopResourcepublic String getName(Locale locale)
getName in interface FreedesktopResourcepublic String getName(String language)
getName in interface FreedesktopResourcepublic String getComment()
getComment in interface FreedesktopResourcepublic String getComment(Locale locale)
getComment in interface FreedesktopResourcepublic String getComment(String language)
getComment in interface FreedesktopResourcepublic void load(org.apache.commons.vfs2.FileObject file)
throws IOException,
ParseException
IOExceptionParseExceptionprotected void loadDefaults()
protected boolean isLoaded()
public void load(InputStream in) throws IOException, ParseException
IOExceptionParseExceptionprotected abstract void initFromProperties(INIFile iniFile, Properties properties) throws IOException, ParseException
IOExceptionParseExceptionpublic List<org.apache.commons.vfs2.FileObject> getBases()
public org.apache.commons.vfs2.FileObject getBase()
protected void init(org.apache.commons.vfs2.FileObject... bases)
protected void checkLoaded()
protected abstract void load()
throws IOException,
ParseException
IOExceptionParseExceptionCopyright © 2016. All rights reserved.