| java.lang.Object soif.CSID
CSID | public class CSID (Code) | | Encapsulate Compass Server ID.
|
Field Summary | |
final public static int | XCOMPASS Compass. | final public static int | XCOMPASSS Secure compass. |
XCOMPASS | final public static int XCOMPASS(Code) | | Compass.
|
XCOMPASSS | final public static int XCOMPASSS(Code) | | Secure compass.
|
CSID | public CSID(int compass, String host, String port, String name)(Code) | | Constructor.
Parameters: compass - only x-catalog or x-catalogs are valid Parameters: host - blank not valid Parameters: port - port number, if blank, defaults to 80 Parameters: name - target |
CSID | public CSID(String urlStr, String host, String port, String name)(Code) | | Constructor.
Parameters: urlStr - send url string, examined to determine protocol Parameters: host - blank not valid Parameters: port - port number, if blank, defaults to 80 Parameters: name - target |
CSID | public CSID(String csids)(Code) | | Constructor. Parse a string version, protected so
we don't have to write a smart parse.
Untested!
Parameters: s - CSID in string form |
compassToString | public static String compassToString(int i)(Code) | | Translate constant to string.
Parameters: i - constant |
getCompass | public int getCompass()(Code) | | Get the compass.
|
isSecure | public boolean isSecure()(Code) | | Secure?
|
isValid | public boolean isValid()(Code) | | Is the instance valid?
|
stringToCompass | public static int stringToCompass(String s)(Code) | | Translate string to constant.
Parameters: s - string |
toString | public String toString()(Code) | | Return valid CSID string.
|
|
|