Interface UriSerializable

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static char URI_DELIM
      Delimiter between multiple fields in a URI.
      static char URI_NULL
      Token to signify a null field in a URI.
    • Field Detail

      • URI_DELIM

        static final char URI_DELIM
        Delimiter between multiple fields in a URI.
        See Also:
        Constant Field Values
      • URI_NULL

        static final char URI_NULL
        Token to signify a null field in a URI.
        See Also:
        Constant Field Values
    • Method Detail

      • toUri

        String toUri()
        Serialize the object into a URI.
        Returns:
        a String containing a URI-serialized form of the object
      • fromUri

        void fromUri​(String sUri)
        Deserialize the object from a URI String. This method can throw one of several RuntimeExceptions.
        Parameters:
        sUri - a String containing a URI-serialized form of the object
        Throws:
        UnsupportedOperationException - if the operation is not supported
        IllegalStateException - if this is not an appropriate state
        IllegalArgumentException - if there is an illegal argument