|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvsp.CommandLine
public class CommandLine
Keeps and parse command line arguments
Field Summary | |
---|---|
private String |
fileName
No default file name |
private boolean |
gauss
Default is exponential |
private int |
steps
Default steps value |
Constructor Summary | |
---|---|
CommandLine()
|
Method Summary | |
---|---|
String |
getFileName()
|
boolean |
getGauss()
|
int |
getSteps()
|
void |
setFileName(String fileName)
Store file name |
void |
setGauss(String arg)
Parse EXP or GAUSS |
void |
setSteps(String steps)
Parse count of steps |
String |
toString()
String output |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private int steps
private boolean gauss
private String fileName
Constructor Detail |
---|
public CommandLine()
Method Detail |
---|
public int getSteps()
public void setSteps(String steps) throws NumberFormatException
steps
- the steps to set
NumberFormatException
public boolean getGauss()
public void setGauss(String arg) throws Exception
gauss
- the gauss to set
Exception
public String getFileName()
public void setFileName(String fileName)
fileName
- the fileName to setpublic String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |