Class ReferenceResource

java.lang.Object
com.globalmentor.net.AbstractResource
com.globalmentor.net.ReferenceResource
All Implemented Interfaces:
Resource

public class ReferenceResource extends AbstractResource
A class that represents a reference to another resource via its URI.
Author:
Garret Wilson
  • Constructor Details

    • ReferenceResource

      public ReferenceResource(URI uri)
      URI constructor.
      Parameters:
      uri - The resource identifier URI.
      Throws:
      NullPointerException - if the given URI is null.
  • Method Details

    • getURI

      public URI getURI()
      Returns:
      The resource identifier URI, or null if the identifier is not known.