|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.server.config.UpToDateConfigFile
com.sibvisions.rad.server.config.Zone
public abstract class Zone
A Zone is a special area in the server-side code area. A zone
always has a configuration file.
| Method Summary | |
|---|---|
boolean |
addEncryptedNode(java.lang.String pNode)
Sets that a node is encrypted. |
protected XmlWorker |
createXmlWorker()
Creates the default XmlWorker for reading the file. |
IConfiguration |
getConfig()
Gets this Zone as wrapped IConfiguration. |
java.io.File |
getDirectory()
Returns the zone directory. |
static boolean |
isValid(java.io.File pDirectory)
Checks if the zone is valid. |
static boolean |
isValid(java.io.File pDirectory,
java.lang.String pConfigName)
Checks if the zone is valid. |
boolean |
removeEncryptedNode(java.lang.String pNode)
Remose a node from the list of encrypted nodes. |
| Methods inherited from class com.sibvisions.rad.server.config.UpToDateConfigFile |
|---|
clone, getFile, getNode, getNodes, getProperties, getProperty, getProperty, isCloneNodes, isFile, isSaveImmediate, isStream, isUpdateEnabled, isValid, isVirtual, prepareIncludeNodes, reload, replacePlaceholder, replacePlaceholder, save, setCloneNodes, setContent, setNode, setProperty, setSaveImmediate, setUpdateEnabled, update |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
protected XmlWorker createXmlWorker()
XmlWorker for reading the file.
createXmlWorker in class UpToDateConfigFilepublic static boolean isValid(java.io.File pDirectory)
pDirectory - the zone directory
true if the zone is valid, otherwise false
public static boolean isValid(java.io.File pDirectory,
java.lang.String pConfigName)
pDirectory - the zone directorypConfigName - the name of the configuration file
true if the zone is valid, otherwise falsepublic java.io.File getDirectory()
public IConfiguration getConfig()
IConfiguration.
IConfiguration accesspublic boolean addEncryptedNode(java.lang.String pNode)
pNode - the node name without indizes
true if the node is added to the encryption list, false otherwise
(maybe it is already added)public boolean removeEncryptedNode(java.lang.String pNode)
pNode - the node name without indizes
true if the node is removed from the list, false otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||