Object URIStringMapper

  • All Implemented Interfaces:

    
    public class URIStringMapper
    
                        

    String mapping functions to perform URI percent-encoding and -decoding.

    Author:

    Peter Wall

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String encodeURI(String $self) Encode string using URI percent-encoding.
      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).
      final Boolean isUnreservedForURI(Character $self) Test whether a character is in the "unreserved for URI" set.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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).