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