|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.sysadm.PropFiles
The PropFiles is the entry point of the property editing portion of our program for the user.
It generates the main page for property file editing. The admin user can, from this page, choose to ADD, DELETE, or CHANGE a property contained in the named properties file.
Field Summary | |
int |
advMaxLen
|
int |
basMaxLen
|
Vector |
cp
|
protected static String |
doc_base
|
private static String |
RESOURCE
|
protected static boolean |
VERBOSE
|
Constructor Summary | |
PropFiles()
|
Method Summary | |
void |
callPropagator()
|
private String |
cleanPropertyValue(String oldValue)
|
private static void |
copyFile(String filename)
|
private String |
getDescription(Properties propMap,
String propertyName)
Returns description text |
Vector |
getProperties(String current_file,
String select)
Get the properties from the selected file, containing a given pattern |
private String |
getReference(String propertyName)
Insert the Reference text |
private static String |
quote(String str)
|
private String |
replacePropertyValue(String tmpStr)
|
void |
setProperties(String s1,
String s2,
String s3,
String s4,
String s5,
String s6)
|
private static String[] |
SortProps(Properties prop)
|
boolean |
updateProps(Properties props_to_update,
String aUser)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final boolean VERBOSE
private static final String RESOURCE
protected static final String doc_base
public Vector cp
public int advMaxLen
public int basMaxLen
Constructor Detail |
public PropFiles()
Method Detail |
private String getReference(String propertyName)
private String getDescription(Properties propMap, String propertyName)
propertyName
- Name key for the property whose value will be returnedpublic Vector getProperties(String current_file, String select) throws WTException, IOException
WTException
IOException
public boolean updateProps(Properties props_to_update, String aUser) throws IOException, WTException, StructConfManagerException
IOException
WTException
StructConfManagerException
private static void copyFile(String filename)
private static String[] SortProps(Properties prop)
private static String quote(String str)
public void setProperties(String s1, String s2, String s3, String s4, String s5, String s6)
private String cleanPropertyValue(String oldValue)
private String replacePropertyValue(String tmpStr)
public void callPropagator() throws WTException, IOException, StructConfManagerException
WTException
IOException
StructConfManagerException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |