com.microdeveloper.util.io.property
Class FileParameterReader
java.lang.Object
com.microdeveloper.util.io.property.FileParameterReader
public class FileParameterReader
- extends Object
Allows reading of custom parameter files with specific layouts and operators as well as support for switches.
A parameter is defined as a name value pair construct whereas a switch is simply a named parameter without an
implied value of true.
- Author:
- Gregg Lagnese
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileParameterReader
public FileParameterReader()
- Creates a new instance of FileParameterReader
readFile
public void readFile()
throws IOException
- Throws:
IOException
parameterExists
public boolean parameterExists(String key)
getParameterValue
public String getParameterValue(String key)
getParameters
public HashMap getParameters()
getSize
public int getSize()
setFile
public void setFile(String f)
getFile
public String getFile()
Copyright©2001-2007 MicroDeveloper, Inc. All Rights Reserved.