Package 

Class URITemplate

  • All Implemented Interfaces:

    
    public final class URITemplate
    
                        

    A lightweight implementation of URI Template (RFC 6570).

    Only handles simple cases, fitting Readium's use cases. See https://tools.ietf.org/html/rfc6570

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final List<String> getParameters() List of URI template parameter keys, if the Link is templated.
      final String getUri()
      final String expand(Map<String, String> parameters) Expands the HREF by replacing URI template variables by the given parameters.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait