|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jChatBox.Util.XMLConfig
This class implements features to read/save jChatBox XML system configuration file.
DOM have been chosen to model XML.
All fields and methods are static.
Field Summary | |
static java.lang.String |
_XMLfilename
|
static java.lang.String |
BACKUPFILE
|
static java.lang.String |
CONFFOLDER
Path to jChatBox conf folder (Not ending with a separator) |
static java.lang.String |
COOKIEID
|
static int |
DISPLAYMODE
|
static java.util.Vector |
FILTERS
|
static java.util.Vector |
FILTERSCLASSES
|
static int |
HISTORY
|
static java.lang.String |
LICENSE
|
static java.lang.String |
LINESEPARATOR
Line separator |
static java.lang.String |
LOGFOLDER
|
static int |
MAXUSERS
|
static boolean |
PRIVATEMESSAGE
|
static int |
REFRESHLIMIT
|
static int |
REFRESHMODEL
|
static java.lang.String |
REGISTRATION
|
static char |
SEPARATOR
File separator |
static java.lang.String |
SYSTEMEMAIL
|
static java.lang.String |
SYSTEMLOGIN
|
static java.lang.String |
SYSTEMPASSWORD
|
static int |
TIMEOUT
|
Method Summary | |
static void |
ChatroomManagerToFile(ChatroomManager data,
java.lang.String aFile)
Writes serialized Hashtable to file. |
static ChatroomManager |
fileToChatroomManager(java.lang.String aFile)
Reads a serialized Hashtable from file. |
static void |
init(java.lang.String configFile)
XMLConfig initialization. |
static java.lang.String |
readRegistration()
Converts OXW file into PLAIN text. |
static void |
writeConfig()
Saves XML file. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static java.lang.String BACKUPFILE
public static java.lang.String LOGFOLDER
public static java.lang.String SYSTEMLOGIN
public static java.lang.String SYSTEMPASSWORD
public static java.lang.String SYSTEMEMAIL
public static int TIMEOUT
public static java.lang.String COOKIEID
public static java.lang.String LICENSE
public static java.lang.String REGISTRATION
public static int MAXUSERS
public static int HISTORY
public static int REFRESHLIMIT
public static int DISPLAYMODE
public static int REFRESHMODEL
public static boolean PRIVATEMESSAGE
public static char SEPARATOR
public static java.lang.String LINESEPARATOR
public static java.lang.String CONFFOLDER
public static java.util.Vector FILTERSCLASSES
public static java.util.Vector FILTERS
public static java.lang.String _XMLfilename
Method Detail |
public static void init(java.lang.String configFile)
public static java.lang.String readRegistration()
public static void writeConfig() throws java.lang.Exception
public static void ChatroomManagerToFile(ChatroomManager data, java.lang.String aFile)
public static ChatroomManager fileToChatroomManager(java.lang.String aFile)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |