com.svincent.util
Class CommandLine.BooleanArg

java.lang.Object
  |
  +--com.svincent.util.CommandLine.Arg
        |
        +--com.svincent.util.CommandLine.BooleanArg
All Implemented Interfaces:
java.lang.Comparable
Enclosing class:
CommandLine

public static class CommandLine.BooleanArg
extends CommandLine.Arg


Constructor Summary
CommandLine.BooleanArg(java.lang.String _longName)
           
 
Method Summary
 int getArgCount()
           
 boolean getValue()
           
 void parse(java.lang.String[] args, int argIndex)
           
 
Methods inherited from class com.svincent.util.CommandLine.Arg
compareTo, description, getDescription, getLongName, getShortName, isRequired, printTypicalUsage, required, shortName, tag, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommandLine.BooleanArg

public CommandLine.BooleanArg(java.lang.String _longName)
Method Detail

parse

public void parse(java.lang.String[] args,
                  int argIndex)
Overrides:
parse in class CommandLine.Arg

getArgCount

public int getArgCount()
Overrides:
getArgCount in class CommandLine.Arg

getValue

public boolean getValue()



This is documentation for Moksa Prolog, which can be found at http://www.svincent.com/moksa/

Copyright © 1999 Shawn P. Vincent.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.