|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jade.util.BasicProperties | +--jade.util.ImportableProperties | +--jade.util.EnhancedProperties
Provides a concrete implementation of ImportableProperties useable in the J2SE (desktop) world. This class relates to four others as follows:
return new InputStreamReader(new FileInputStream(aFileName));whereas in the CLDC environment it would be:
return new InputStreamReader(Connector.openInputStream(aFileName));
Constructor Summary | |
EnhancedProperties()
Construct empty property collection. |
|
EnhancedProperties(java.lang.String aFileName)
Construct properties from specified file. |
|
EnhancedProperties(java.lang.String[] theArgs)
Construct properties from arguments. |
Method Summary | |
protected java.io.Reader |
fileReader(java.lang.String aFileName)
Construct a Reader for the specified file name. |
static void |
main(java.lang.String[] args)
For testing. |
Methods inherited from class jade.util.ImportableProperties |
addFromFile,
getImportKey,
setImportKey,
storableProperty |
Methods inherited from class jade.util.BasicProperties |
addFromReader,
copyProperties,
doSubstitutions,
doSubstitutions,
extractSubset,
get,
getBooleanProperty,
getEnvironmentProperty,
getIntProperty,
getOneLine,
getProperty,
getProperty,
getPropertyIgnoreCase,
getRawProperty,
isCandidate,
isolateKey,
isolateValue,
keys,
list,
load,
nextArgIndex,
parseArgs,
parseArgument,
prepareArgs,
put,
readLine,
renameKey,
setBooleanProperty,
setIntProperty,
setProperty,
setPropertyIfNot,
sortedKeys,
specialHandling,
store,
toStringArray,
valueFilter |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public EnhancedProperties()
public EnhancedProperties(java.lang.String[] theArgs)
theArgs
- The applications original arguments.public EnhancedProperties(java.lang.String aFileName) throws java.io.IOException
aFileName
- The name of the properties file.Method Detail |
public static void main(java.lang.String[] args)
protected java.io.Reader fileReader(java.lang.String aFileName) throws java.io.IOException
aFileName
- The name of the file.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |