Class URLCache.Info

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable
    Enclosing class:
    URLCache

    public class URLCache.Info
    extends java.lang.Object
    implements java.io.Closeable
    • Constructor Summary

      Constructors 
      Constructor Description
      Info​(java.io.File content, java.net.URI url)  
      Info​(java.net.URI url)
      Deprecated.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void delete()  
      java.lang.String getETag()  
      long getModified()  
      boolean isPresent()  
      java.lang.String toString()  
      void update​(java.io.InputStream inputStream, java.lang.String etag, long modified)  
      void update​(java.lang.String etag)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Info

        @Deprecated
        public Info​(java.net.URI url)
             throws java.lang.Exception
        Deprecated.
        Throws:
        java.lang.Exception
      • Info

        public Info​(java.io.File content,
                    java.net.URI url)
             throws java.lang.Exception
        Throws:
        java.lang.Exception
    • Method Detail

      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException
      • update

        public void update​(java.io.InputStream inputStream,
                           java.lang.String etag,
                           long modified)
                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • update

        public void update​(java.lang.String etag)
                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • isPresent

        public boolean isPresent()
      • delete

        public void delete()
      • getETag

        public java.lang.String getETag()
      • getModified

        public long getModified()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object