Class IdString
java.lang.Object
com.google.gerrit.extensions.restapi.IdString
Resource identifier split out from a URL.
 
Identifiers are URL encoded and usually need to be decoded.
- 
Method SummaryModifier and TypeMethodDescriptionencoded()Returns the original URL encoding supplied by the client.booleanstatic IdStringfromDecoded(String id) Construct an identifier from an already decoded string.static IdStringConstruct an identifier from an already encoded string.get()Returns the decoded value of the string.inthashCode()booleanisEmpty()Returns true if the string is the empty string.toString()
- 
Method Details- 
fromUrlConstruct an identifier from an already encoded string.
- 
fromDecodedConstruct an identifier from an already decoded string.
- 
getReturns the decoded value of the string.
- 
isEmptypublic boolean isEmpty()Returns true if the string is the empty string.
- 
encodedReturns the original URL encoding supplied by the client.
- 
hashCodepublic int hashCode()
- 
equals
- 
toString
 
-