public class TUri
extends java.lang.Object
Constructor and Description |
---|
TUri(java.lang.String uri)
Create a URI.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object)
Indicates whether some other object is "equal to" this one.
|
java.lang.String |
getAsString()
Get the uri as a string.
|
java.util.Locale |
getLocale()
Gets the locale.
|
java.lang.String |
getScheme()
Get the scheme (protocal) name from this URI.
|
java.lang.String |
getUri()
Return the URI as a string.
|
int |
hashCode()
Returns a hash code value for the object.
|
void |
setLocale(java.util.Locale locale)
Sets the locale.
|
java.lang.String |
toString()
Return a string representation of this object.
|
public TUri(java.lang.String uri) throws java.net.MalformedURLException
string
- the URI as a stringjava.net.MalformedURLException
public java.lang.String getUri()
public java.lang.String getScheme()
public java.lang.String getAsString()
public void setLocale(java.util.Locale locale)
public java.util.Locale getLocale()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright (c) 2015 Software AG. All Rights Reserved.