public class GenericURI extends NetObject implements URI
Modifier and Type | Field and Description |
---|---|
static String |
ISUB |
static String |
PHONE_CONTEXT_TAG |
static String |
POSTDIAL |
static String |
PROVIDER_TAG |
protected String |
scheme
The URI Scheme.
|
static String |
SIP |
static String |
SIPS |
static String |
TEL |
protected String |
uriString
Imbedded URI
|
CORE_PACKAGE, GRUU, LR, MADDR, METHOD, NET_PACKAGE, PARSER_PACKAGE, PHONE, TCP, TLS, TRANSPORT, TTL, UDP, USER
AND, AT, COLON, COMMA, DOT, DOUBLE_QUOTE, EQUALS, GREATER_THAN, HT, immutableClasses, indentation, LESS_THAN, LPAREN, matchExpression, NEWLINE, PERCENT, POUND, QUESTION, QUOTE, RETURN, RPAREN, SEMICOLON, SLASH, SP, STAR, stringRepresentation
Modifier | Constructor and Description |
---|---|
protected |
GenericURI()
Consturctor
|
|
GenericURI(String uriString)
Constructor given the URI string
|
Modifier and Type | Method and Description |
---|---|
String |
encode()
Encode the URI.
|
StringBuilder |
encode(StringBuilder buffer)
Put the encoded version of this object in the given StringBuilder.
|
boolean |
equals(Object that)
An introspection based equality predicate for SIPObjects.
|
String |
getScheme()
Returns the value of the "scheme" of
this URI, for example "sip", "sips" or "tel".
|
int |
hashCode() |
boolean |
isSipURI()
This method determines if this is a URI with a scheme of
"sip" or "sips".
|
String |
toString()
Encode this URI.
|
clone, dbgPrint, dbgPrint, getClassFromName, getIndentation, getMatcher, isMySubclass, makeClone, merge, setMatcher, sprint, sprint, sprint, sprint, sprint, sprint, sprint, sprint, sprint
public static final String SIP
public static final String SIPS
public static final String TEL
public static final String POSTDIAL
public static final String PHONE_CONTEXT_TAG
public static final String ISUB
public static final String PROVIDER_TAG
protected String uriString
protected String scheme
protected GenericURI()
public GenericURI(String uriString) throws ParseException
uriString
- The imbedded URI string.URISyntaxException
- When there is a syntaz error in the imbedded URI.ParseException
public String encode()
encode
in class GenericObject
public StringBuilder encode(StringBuilder buffer)
GenericObject
encode
in class GenericObject
public String toString()
public String getScheme()
public boolean isSipURI()
public boolean equals(Object that)
NetObject
Copyright © 2018. All Rights Reserved.