Top Fields Constructors Methods
com.mchange.v2.cmdline

pack-priv Class ParsedCommandLineImpl

extends Object
implements ParsedCommandLine
Class Inheritance
All Implemented Interfaces
com.mchange.v2.cmdline.ParsedCommandLine
Imports
java.util.*

Field Summary

Modifier and TypeField and Description
pack-priv String[]
pack-priv HashMap<K, V>
pack-priv String
pack-priv String[]

Constructor Summary

AccessConstructor and Description
pack-priv
ParsedCommandLineImpl(String[] argv, String switchPrefix, String[] validSwitches, String[] requiredSwitches, String[] argSwitches)

Method Summary

Modifier and TypeMethod and Description
private static boolean
contains(String string, String[] list)

public String[]
public String
public String
public String[]
public boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

argvback to summary
pack-priv String[] argv
foundSwitchesback to summary
pack-priv HashMap<K, V> foundSwitches
switchPrefixback to summary
pack-priv String switchPrefix
unswitchedArgsback to summary
pack-priv String[] unswitchedArgs

Constructor Detail

ParsedCommandLineImplback to summary
pack-priv ParsedCommandLineImpl(String[] argv, String switchPrefix, String[] validSwitches, String[] requiredSwitches, String[] argSwitches) throws BadCommandLineException

Method Detail

containsback to summary
private static boolean contains(String string, String[] list)
getRawArgsback to summary
public String[] getRawArgs()

Implements com.mchange.v2.cmdline.ParsedCommandLine.getRawArgs.

getSwitchArgback to summary
public String getSwitchArg(String sw)

Implements com.mchange.v2.cmdline.ParsedCommandLine.getSwitchArg.

getSwitchPrefixback to summary
public String getSwitchPrefix()

Implements com.mchange.v2.cmdline.ParsedCommandLine.getSwitchPrefix.

getUnswitchedArgsback to summary
public String[] getUnswitchedArgs()

Implements com.mchange.v2.cmdline.ParsedCommandLine.getUnswitchedArgs.

includesSwitchback to summary
public boolean includesSwitch(String sw)

Implements com.mchange.v2.cmdline.ParsedCommandLine.includesSwitch.