|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.axis.utils.Options
public class Options
| Constructor Summary | |
|---|---|
Options(String[] _args)
Constructor - just pass in the args from the command line. |
|
| Method Summary | |
|---|---|
String |
getHost()
|
String |
getPassword()
|
int |
getPort()
|
String[] |
getRemainingArgs()
This returns an array of unused args - these are the non-option args from the command line. |
String |
getRemainingFlags()
This just returns a string with the unprocessed flags - mainly for error reporting - so you can report the unknown flags. |
String |
getURL()
|
String |
getUser()
|
int |
isFlagSet(char optChar)
Returns an int specifying the number of times that the flag was specified on the command line. |
String |
isValueSet(char optChar)
Returns a string (or null) specifying the value for the passed option. |
void |
setDefaultURL(String url)
|
void |
setDefaultURL(URL url)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Options(String[] _args)
throws MalformedURLException
MalformedURLException| Method Detail |
|---|
public void setDefaultURL(String url)
throws MalformedURLException
MalformedURLExceptionpublic void setDefaultURL(URL url)
public int isFlagSet(char optChar)
public String isValueSet(char optChar)
public String getRemainingFlags()
public String[] getRemainingArgs()
public String getURL()
throws MalformedURLException
MalformedURLExceptionpublic String getHost()
public int getPort()
public String getUser()
public String getPassword()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||