|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.limegroup.gnutella.xml.LimeXMLProperties
This class manages the properties needed by the com.limegroup.gnutella.server.** package It maintains default settings for values not set in the saved settings files.
Adheres to Singleton design pattern. So, only one instance of the class gets created.
Field Summary | |
static long |
DEFAULT_NONFILE_INDEX
The default index for responses when there is no there no file and hecne to no download. |
Method Summary | |
java.io.File[] |
getAllXMLSchemaFiles()
Returns the files pertaining to the XML Schemas used for querying/responding |
java.lang.String |
getPath()
Returns the base path for properties |
java.lang.String |
getUserMapFile()
Returns the name of the file that stores user information map |
java.lang.String |
getXMLDisplayPropsDir()
|
java.lang.String |
getXMLDocsDir()
Returns the name of the directory where the XML Documents are located |
java.lang.String |
getXMLImagesDir()
Returns the name of the directory in which XML Images are located. |
java.lang.String |
getXMLSchemaDir()
Returns the name of the directory in which XML Schemas are located for querying and responding. |
static LimeXMLProperties |
instance()
If an instance of this object has been already initialized, returns it, else initializes a new instance and returns the same |
protected void |
loadProperties()
Loads the settings from the default properties file |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final long DEFAULT_NONFILE_INDEX
Method Detail |
protected void loadProperties()
public static LimeXMLProperties instance()
public java.lang.String getXMLSchemaDir()
public java.lang.String getXMLImagesDir()
public java.lang.String getXMLDocsDir()
public java.lang.String getXMLDisplayPropsDir()
public java.io.File[] getAllXMLSchemaFiles()
public java.lang.String getUserMapFile()
public java.lang.String getPath()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |