scalax.io.CommandLineParser

class Flag

[source: scalax/io/CommandLineParser.scala]

abstract class Flag(val shortName : scala.Option[Char], val longName : java.lang.String, val description : java.lang.String)
extends OptionSpec with Argument
Instantiate one of these for each flag-type option.
Additional Constructor Summary
def this (s : Char, l : java.lang.String, d : java.lang.String) : Flag
def this (l : java.lang.String, d : java.lang.String) : Flag
Method Summary
def spec : scala.Some[Flag]
The OptionSpec for this argument, or None if this is a non-option.
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Methods inherited from OptionSpec
allow (abstract)
Additional Constructor Details
def this(s : Char, l : java.lang.String, d : java.lang.String) : Flag

def this(l : java.lang.String, d : java.lang.String) : Flag

Method Details
def spec : scala.Some[Flag]
The OptionSpec for this argument, or None if this is a non-option.
Overrides
Argument.spec


Copyright (c) 2005-8 The Scalax Project. All Rights Reserved.