Class SyntheticResource

  • All Implemented Interfaces:

    
    public final class SyntheticResource<T extends Object>
    extends Resource<T>
                        

    A SyntheticResource may be used to represent an internally-generated Resource.

    Author:

    Peter Wall

    • 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
      ResourceDescriptor open() Open a Resource for reading.
      Resource<T> resolve(String relativeURL) Resolve a relative URL against the current Resource, returning a new Resource.
      T load() Load the resource.
      String toString()
      • Methods inherited from class io.kjson.resource.Resource

        equals, getUrl, hashCode, isDirectory
      • Methods inherited from class java.lang.Object

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