java.lang.Object
com.flexstor.common.util.PropertyMapperCore
com.flexstor.common.util.PropertyMapper
- public class PropertyMapper
- extends PropertyMapperCore
PropertyMapper provides functionality to read sections, properties and
values from an input file, keep them in memory and access each element of data.
- Version:
- 2.2
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyMapper
public PropertyMapper()
readInputFile
public void readInputFile(java.lang.String sFileName)
throws java.io.IOException
- Reads the input source identifying sections, properties and values.
If sFileName start with "http://" or "file://" we read the data
from an URL otherwise via FlexXFile.
This condition may be removed once XFile supports URLs itself.
- Specified by:
readInputFile in class PropertyMapperCore
readInputFile
public void readInputFile(java.lang.String sFileName,
boolean bUseXFile)
throws java.io.IOException
- Reads the input file identifying sections, properties and values.
readInputFile
public void readInputFile(com.flexstor.common.io.xfile.FlexXFile xInputFile)
throws java.io.IOException
- Reads the input file identifying sections, properties and values.
readInputFile
public void readInputFile(java.net.URL url)
throws java.io.IOException
- Reads the input file identifying sections, properties and values.
This method uses the File class not the FlexXFile Class, due to problems with FlexXFile
- Specified by:
readInputFile in class PropertyMapperCore