Package 

Interface Resource

  • All Implemented Interfaces:
    org.readium.r2.shared.util.SuspendingCloseable , org.readium.r2.shared.util.data.Readable

    
    public interface Resource
     implements Readable
                        

    Acts as a proxy to an actual resource by handling read access.

    • Method Summary

      Modifier and Type Method Description
      abstract Try<Resource.Properties, ReadError> properties() Properties associated to the resource.
      abstract AbsoluteUrl getSourceUrl() URL locating this resource, if any.
      • Methods inherited from class org.readium.r2.shared.util.resource.Resource

        length, read
      • Methods inherited from class org.readium.r2.shared.util.data.Readable

        close
      • Methods inherited from class java.lang.Object

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