Class com.symantec.itools.util.Properties
All Packages Class Hierarchy This Package Previous Next Index
Class com.symantec.itools.util.Properties
Object
|
+----Dictionary
|
+----Hashtable
|
+----Properties
|
+----com.symantec.itools.util.Properties
- public class Properties
- extends Properties
- Version:
- 1.0
- Author:
- Symantec Internet Tools Division
- Since:
- VCafe 3.0
-
INDENT
-
-
extendedPropertiesFileFormat
-
-
fileName
-
-
saveChanges
-
-
saved
-
-
com.symantec.itools.util.Properties()
-
-
com.symantec.itools.util.Properties(String)
-
-
com.symantec.itools.util.Properties(URL)
-
-
com.symantec.itools.util.Properties(InputStream)
-
-
com.symantec.itools.util.Properties(Properties)
-
-
com.symantec.itools.util.Properties(String[][])
-
-
finalize()
-
-
fixup(String)
-
-
getBoolean(String)
-
-
getBoolean(String, boolean)
-
-
getClass(String)
-
-
getDouble(String)
-
-
getDouble(String, double)
-
-
getExtendedPropertiesFileFormat()
-
-
getFileName()
-
-
getFloat(String)
-
-
getFloat(String, float)
-
-
getInteger(String)
-
-
getInteger(String, int)
-
-
getLong(String)
-
-
getLong(String, long)
-
-
getNewInstanceOfClass(String)
-
-
getNewInstanceOfClass(String, Class[], Object[])
-
-
getProperties(String)
-
-
getPropertiesList(String)
-
-
getString(String)
-
-
getString(String, String)
-
-
getStringList(String)
-
-
getStringList(String, String[])
-
-
isSaveChanges()
-
-
load(Properties)
-
-
load(String[][])
-
-
load(InputStream)
-
-
put(Object, Object)
-
-
readKey(PushbackReader, LineNumberReader)
-
-
readListValue(PushbackReader, LineNumberReader, int)
-
-
readPropertiesValue(PushbackReader, LineNumberReader, int, int)
-
-
readStringValue(PushbackReader, LineNumberReader, int, int)
-
-
readValue(PushbackReader, LineNumberReader, int)
-
-
replace(String, String, String)
-
-
save(String)
-
-
save(OutputStream)
-
-
save(OutputStream, String)
-
-
set(String, String)
-
-
set(String, boolean)
-
-
set(String, int)
-
-
set(String, float)
-
-
set(String, long)
-
-
set(String, double)
-
-
set(String, Class)
-
-
set(String, Properties)
-
-
set(String, String[])
-
-
set(String, Properties[])
-
-
setExtendedPropertiesFileFormat(boolean)
-
-
setFileName(String)
-
-
setSaveChanges(boolean)
-
-
skipWhitespace(PushbackReader, LineNumberReader)
-
-
toString()
-
-
toString(String)
-
-
toString(String, String)
-
INDENT
protected static final java.lang.String INDENT
-
- Since:
VCafe 3.0
extendedPropertiesFileFormat
protected boolean extendedPropertiesFileFormat
-
- Since:
VCafe 3.0
fileName
protected java.lang.String fileName
-
- Since:
VCafe 3.0
saveChanges
protected boolean saveChanges
-
- Since:
VCafe 3.0
saved
protected boolean saved
-
- Since:
VCafe 3.0
Properties
public Properties()
Properties
public Properties(String name) throws IOException
Properties
public Properties(URL url) throws IOException
Properties
public Properties(InputStream stream) throws IOException
Properties
public Properties(Properties properties)
Properties
public Properties(String[][] data)
finalize
public void finalize() throws Throwable
-
- Throws: Throwable
-
- Overrides:
- finalize in class Object
- Since:
- VCafe 3.0
fixup
protected static java.lang.String fixup(String s)
-
- Parameters:
- s - TODO
- Since:
- VCafe 3.0
getBoolean
public boolean getBoolean(String key)
-
- Parameters:
- key - TODO
- Since:
- VCafe 3.0
getBoolean
public boolean getBoolean(String key,
boolean defaultValue)
-
- Parameters:
- key - TODO
- defaultValue - TODO
- Since:
- VCafe 3.0
getClass
public java.lang.Class getClass(String key) throws ClassNotFoundException, KeyNotFoundException
-
- Parameters:
- key - TODO
- Throws: ClassNotFoundException
-
- Since:
- VCafe 3.0
getDouble
public double getDouble(String key)
-
- Parameters:
- key - TODO
- Since:
- VCafe 3.0
getDouble
public double getDouble(String key,
double defaultValue)
-
- Parameters:
- key - TODO
- defaultValue - TODO
- Since:
- VCafe 3.0
getExtendedPropertiesFileFormat
public boolean getExtendedPropertiesFileFormat()
-
- Since:
- VCafe 3.0
getFileName
public java.lang.String getFileName()
-
- Since:
- VCafe 3.0
getFloat
public float getFloat(String key)
-
- Parameters:
- key - TODO
- Since:
- VCafe 3.0
getFloat
public float getFloat(String key,
float defaultValue)
-
- Parameters:
- key - TODO
- defaultValue - TODO
- Since:
- VCafe 3.0
getInteger
public int getInteger(String key)
-
- Parameters:
- key - TODO
- Since:
- VCafe 3.0
getInteger
public int getInteger(String key,
int defaultValue)
-
- Parameters:
- key - TODO
- defaultValue - TODO
- Since:
- VCafe 3.0
getLong
public long getLong(String key)
-
- Parameters:
- key - TODO
- Since:
- VCafe 3.0
getLong
public long getLong(String key,
long defaultValue)
-
- Parameters:
- key - TODO
- defaultValue - TODO
- Since:
- VCafe 3.0
getNewInstanceOfClass
public java.lang.Object getNewInstanceOfClass(String key) throws DynamicClassException
-
- Parameters:
- key - TODO
- Throws: DynamicClassException
-
- Since:
- VCafe 3.0
getNewInstanceOfClass
public java.lang.Object getNewInstanceOfClass(String key,
Class[] argTypes,
Object[] args) throws DynamicClassException
-
- Parameters:
- key - TODO
- argTypes - TODO
- args - TODO
- Throws: DynamicClassException
-
- Since:
- VCafe 3.0
getProperties
public com.symantec.itools.util.Properties getProperties(String key)
-
- Parameters:
- key - TODO
- Since:
- VCafe 3.0
getPropertiesList
public com.symantec.itools.util.Properties[] getPropertiesList(String key)
-
- Parameters:
- key - TODO
- Since:
- VCafe 3.0
getString
public java.lang.String getString(String key)
-
- Parameters:
- key - TODO
- Since:
- VCafe 3.0
getString
public java.lang.String getString(String key,
String defaultValue)
-
- Parameters:
- key - TODO
- defaultValue - TODO
- Since:
- VCafe 3.0
getStringList
public java.lang.String[] getStringList(String key)
-
- Parameters:
- key - TODO
- Since:
- VCafe 3.0
getStringList
public java.lang.String[] getStringList(String key,
String[] defaultValue)
-
- Parameters:
- key - TODO
- defaultValue - TODO
- Since:
- VCafe 3.0
isSaveChanges
public boolean isSaveChanges()
-
- Since:
- VCafe 3.0
load
public void load(Properties properties)
-
- Parameters:
- properties - TODO
- Since:
- VCafe 3.0
load
public void load(String[][] data)
-
- Parameters:
- data - TODO
- Since:
- VCafe 3.0
load
public synchronized void load(InputStream in) throws IOException
-
- Parameters:
- in - TODO
- Throws: IOException
-
- Overrides:
- load in class Properties
- Since:
- VCafe 3.0
put
public java.lang.Object put(Object key,
Object value)
-
- Parameters:
- key - TODO
- value - TODO
- Overrides:
- put in class Hashtable
- Since:
- VCafe 3.0
readKey
protected java.lang.String readKey(PushbackReader reader,
LineNumberReader lineReader) throws IOException
-
- Parameters:
- reader - TODO
- lineReader - TODO
- Throws: IOException
-
- Since:
- VCafe 3.0
readListValue
protected java.lang.Object[] readListValue(PushbackReader reader,
LineNumberReader lineReader,
int expectedTermination) throws IOException
-
- Parameters:
- reader - TODO
- lineReader - TODO
- expectedTermination - TODO
- Throws: IOException
-
- Since:
- VCafe 3.0
readPropertiesValue
protected com.symantec.itools.util.Properties readPropertiesValue(PushbackReader reader,
LineNumberReader lineReader,
int expectedTermination1,
int expectedTermination2) throws IOException
-
- Parameters:
- reader - TODO
- lineReader - TODO
- expectedTermination1 - TODO
- expectedTermination2 - TODO
- Throws: IOException
-
- Since:
- VCafe 3.0
readStringValue
protected java.lang.String readStringValue(PushbackReader reader,
LineNumberReader lineReader,
int expectedTermination1,
int expectedTermination2) throws IOException
-
- Parameters:
- reader - TODO
- lineReader - TODO
- expectedTermination1 - TODO
- expectedTermination2 - TODO
- Throws: IOException
-
- Since:
- VCafe 3.0
readValue
protected java.lang.Object readValue(PushbackReader reader,
LineNumberReader lineReader,
int expectedTermination) throws IOException
-
- Parameters:
- reader - TODO
- lineReader - TODO
- expectedTermination - TODO
- Throws: IOException
-
- Since:
- VCafe 3.0
replace
protected static java.lang.String replace(String s,
String sOld,
String sNew)
-
- Parameters:
- s - TODO
- sOld - TODO
- sNew - TODO
- Since:
- VCafe 3.0
save
public synchronized void save(String name) throws IOException
-
- Parameters:
- name - TODO
- Throws: IOException
-
- Since:
- VCafe 3.0
save
public synchronized void save(OutputStream stream)
-
- Parameters:
- stream - TODO
- Since:
- VCafe 3.0
save
public void save(OutputStream stream,
String header)
-
- Parameters:
- stream - TODO
- header - TODO
- Overrides:
- save in class Properties
- Since:
- VCafe 3.0
set
public void set(String key,
String value)
-
- Parameters:
- key - TODO
- value - TODO
- Since:
- VCafe 3.0
set
public void set(String key,
boolean f)
-
- Parameters:
- key - TODO
- f - TODO
- Since:
- VCafe 3.0
set
public void set(String key,
int i)
-
- Parameters:
- key - TODO
- i - TODO
- Since:
- VCafe 3.0
set
public void set(String key,
float f)
-
- Parameters:
- key - TODO
- f - TODO
- Since:
- VCafe 3.0
set
public void set(String key,
long l)
-
- Parameters:
- key - TODO
- l - TODO
- Since:
- VCafe 3.0
set
public void set(String key,
double d)
-
- Parameters:
- key - TODO
- d - TODO
- Since:
- VCafe 3.0
set
public void set(String key,
Class clazz)
-
- Parameters:
- key - TODO
- clazz - TODO
- Since:
- VCafe 3.0
set
public void set(String key,
Properties value)
-
- Parameters:
- key - TODO
- value - TODO
- Since:
- VCafe 3.0
set
public void set(String key,
String[] value)
-
- Parameters:
- key - TODO
- value - TODO
- Since:
- VCafe 3.0
set
public void set(String key,
Properties[] value)
-
- Parameters:
- key - TODO
- value - TODO
- Since:
- VCafe 3.0
setExtendedPropertiesFileFormat
public void setExtendedPropertiesFileFormat(boolean f)
-
- Parameters:
- f - TODO
- Since:
- VCafe 3.0
setFileName
public void setFileName(String name)
-
- Parameters:
- name - TODO
- Since:
- VCafe 3.0
setSaveChanges
public void setSaveChanges(boolean f)
-
- Parameters:
- f - TODO
- Since:
- VCafe 3.0
skipWhitespace
protected java.lang.String skipWhitespace(PushbackReader reader,
LineNumberReader lineReader) throws IOException
-
- Parameters:
- reader - TODO
- lineReader - TODO
- Throws: IOException
-
- Since:
- VCafe 3.0
toString
public java.lang.String toString()
-
- Overrides:
- toString in class Hashtable
- Since:
- VCafe 3.0
toString
protected java.lang.StringBuffer toString(String indentation)
-
- Parameters:
- indentation - TODO
- Since:
- VCafe 3.0
toString
protected java.lang.StringBuffer toString(String key,
String indentation)
All Packages Class Hierarchy This Package Previous Next Index