Package net.pwall.text
Object URIStringMapper
-
- All Implemented Interfaces:
public class URIStringMapperString mapping functions to perform URI percent-encoding and -decoding.
Peter Wall
-
-
Field Summary
Fields Modifier and Type Field Description public final static URIStringMapperINSTANCE
-
Method Summary
Modifier and Type Method Description final StringencodeURI(String $self)Encode string using URI percent-encoding. final StringdecodeURI(String $self)Decode string from URI percent-encoding (also decodes "+" as space, despite the fact that the above function does not encode space this way). final BooleanisUnreservedForURI(Character $self)Test whether a character is in the "unreserved for URI" set. -
-
Method Detail
-
decodeURI
final String decodeURI(String $self)
Decode string from URI percent-encoding (also decodes "+" as space, despite the fact that the above function does not encode space this way).
-
isUnreservedForURI
final Boolean isUnreservedForURI(Character $self)
Test whether a character is in the "unreserved for URI" set.
-
-
-
-