org.sourcejammer.server
Class ServerConfig
java.lang.Object
|
+--org.sourcejammer.server.ServerConfig
- public class ServerConfig
- extends java.lang.Object
Title: $FileName: ServerConfig.java$
- Version:
- $VerNum: 16$
- Author:
- $AuthorName: Rob MacGrogan$
$Description: $
$KeyWordsOff: $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONF_FILE
private static final java.lang.String CONF_FILE
- See Also:
- Constant Field Values
instance
private static ServerConfig instance
msServerVersion
private static java.lang.String msServerVersion
miMaxCacheSize
private int miMaxCacheSize
mbEnableAnonymous
private boolean mbEnableAnonymous
mbEnableWeb
private boolean mbEnableWeb
msAnonymousUserName
private java.lang.String msAnonymousUserName
msWebInterfaceTitle
private java.lang.String msWebInterfaceTitle
msWebInterfaceInfo
private java.lang.String msWebInterfaceInfo
serverDirectory
private java.lang.String serverDirectory
filesysDirectory
private java.lang.String filesysDirectory
miComparisonChunkSize
private int miComparisonChunkSize
miBinaryRangeSize
private int miBinaryRangeSize
msDefaultArchiveRoot
private java.lang.String msDefaultArchiveRoot
ServerConfig
private ServerConfig()
load
private void load(java.lang.String sBasePath)
throws java.io.IOException,
org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException
getInstance
public static ServerConfig getInstance(java.lang.String basePath)
getInstance
public static ServerConfig getInstance()
getComparisonChunckSize
public int getComparisonChunckSize()
getBinaryRangeSize
public int getBinaryRangeSize()
getDefaultArchiveRoot
public java.lang.String getDefaultArchiveRoot()
getMaxCacheSize
public int getMaxCacheSize()
isEnableAnonymousAccess
public boolean isEnableAnonymousAccess()
isEnableWebAccess
public boolean isEnableWebAccess()
getAnonymousUserName
public java.lang.String getAnonymousUserName()
getServerVersion
public static java.lang.String getServerVersion()
getWebInterfaceTitle
public java.lang.String getWebInterfaceTitle()
getWebInterfaceInfo
public java.lang.String getWebInterfaceInfo()
getFilesysDirectory
public java.lang.String getFilesysDirectory()
- Returns the filesysDirectory.
- Returns:
- String
getServerDirectory
public java.lang.String getServerDirectory()
- Returns the serverDirectory.
- Returns:
- String
Copyright © 2003 Soucejammer project.