public class IdString extends Object
Identifiers are URL encoded and usually need to be decoded.
Modifier and Type | Method and Description |
---|---|
String |
encoded() |
boolean |
equals(Object other) |
static IdString |
fromDecoded(String id)
Construct an identifier from an already decoded string.
|
static IdString |
fromUrl(String id)
Construct an identifier from an already encoded string.
|
String |
get() |
int |
hashCode() |
boolean |
isEmpty() |
String |
toString() |
public static IdString fromUrl(String id)
public static IdString fromDecoded(String id)
public String get()
public boolean isEmpty()
public String encoded()