scalax.io.CommandLineParser

class IntOption

[source: scalax/io/CommandLineParser.scala]

abstract class IntOption(val shortName : scala.Option[Char], val longName : java.lang.String, val description : java.lang.String)
extends OptionType[Int]
An option variant that insists that the parameter is an integer.
Additional Constructor Summary
def this (l : java.lang.String, d : java.lang.String) : IntOption
def this (s : Char, l : java.lang.String, d : java.lang.String) : IntOption
Method Summary
def parse (value : java.lang.String) : Bistate[OptionValue[Int], java.lang.String]
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) : IntOption

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

Method Details
def parse(value : java.lang.String) : Bistate[OptionValue[Int], java.lang.String]
Overrides
OptionType.parse


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