Package gov.nih.mipav.model.algorithms
Class libdt.ConfigFile
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.libdt.ConfigFile
-
- Enclosing class:
- libdt
class libdt.ConfigFile extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ConfigFile(java.lang.String fName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
extractContents(java.lang.String line)
(package private) java.lang.String
extractKey(int sepPos, java.lang.String line)
private void
ExtractKeys()
(package private) java.lang.String
extractValue(int sepPos, java.lang.String line)
(package private) double
getDoubleValueOfKey(java.lang.String key)
(package private) int
getIntValueOfKey(java.lang.String key)
(package private) java.lang.String
getStringValueOfKey(java.lang.String key)
(package private) boolean
keyExists(java.lang.String key)
(package private) boolean
onlyWhitespace(java.lang.String line)
(package private) void
parseLine(java.lang.String line, int lineNo)
(package private) java.lang.String
removeComment(java.lang.String line)
(package private) boolean
validLine(java.lang.String line)
-
-
-
Method Detail
-
removeComment
java.lang.String removeComment(java.lang.String line)
-
onlyWhitespace
boolean onlyWhitespace(java.lang.String line)
-
validLine
boolean validLine(java.lang.String line)
-
extractKey
java.lang.String extractKey(int sepPos, java.lang.String line)
-
extractValue
java.lang.String extractValue(int sepPos, java.lang.String line)
-
extractContents
void extractContents(java.lang.String line)
-
parseLine
void parseLine(java.lang.String line, int lineNo)
-
ExtractKeys
private void ExtractKeys()
-
keyExists
boolean keyExists(java.lang.String key)
-
getIntValueOfKey
int getIntValueOfKey(java.lang.String key)
-
getDoubleValueOfKey
double getDoubleValueOfKey(java.lang.String key)
-
getStringValueOfKey
java.lang.String getStringValueOfKey(java.lang.String key)
-
-