FreeHEP API
Version current

org.freehep.util.commandline
Class CommandLine.Parameter

java.lang.Object
  extended byorg.freehep.util.commandline.CommandLine.Parameter
Enclosing class:
CommandLine

public static class CommandLine.Parameter
extends Object

Keeps mandatory and optional parameter names.

Source Code:
CommandLine.Parameter.java

Constructor Summary
CommandLine.Parameter(String name, String description, boolean optional)
           
 
Method Summary
 String getDescription()
           
 String getName()
           
 boolean isOptional()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandLine.Parameter

public CommandLine.Parameter(String name,
                             String description,
                             boolean optional)
Method Detail

getName

public String getName()

getDescription

public String getDescription()

isOptional

public boolean isOptional()

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.