class CommandLine extends AnyRef
- Alphabetic
- By Inheritance
- CommandLine
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val parameters: Set[_ <: Parameter[_]]
- def parse(args: Array[String]): Unit
Parses the command line for parameters.
Parses the command line for parameters.
- args
the arguments to be parsed
- Exceptions thrown
CommandLineException
if something is wrong with the arguments as a wholeParameterException
if some argument does not obey to the format specified by its parameter (regarding to arity or type)
- def parse(args: String*): Unit
Parses the command line for parameters.
Parses the command line for parameters.
- args
the arguments to be parsed
- Exceptions thrown
CommandLineException
if something is wrong with the arguments as a wholeParameterException
if some argument does not obey to the format specified by its parameter (regarding to arity or type)
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def usage(commandName: String, namesColWidth: Int = 0, extraInfo: String = ""): String
A usage message of this command line in a two-column layout.
A usage message of this command line in a two-column layout.
The first column shows the parameter names in one line, the second column shows one ore more lines of description. The lines of the description are taken from the parameter descriptions as given, no automatic word wrap is done.
- commandName
the name of this command
- namesColWidth
minimum width of the names column (defaults to 0)
- extraInfo
additional information to be append to the string (unformatted, defaults to empty string)
- returns
the usage message
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])