Class URLCache


  • public class URLCache
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      URLCache​(java.io.File root)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      URLCache.Info get​(java.io.File file, java.net.URI uri)  
      URLCache.Info get​(java.net.URI uri)  
      java.io.File getCacheFileFor​(java.net.URI url)  
      static java.lang.String toName​(java.net.URI uri)  
      static void update​(java.io.File file, java.lang.String tag)  
      • Methods inherited from class java.lang.Object

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

      • URLCache

        public URLCache​(java.io.File root)
    • Method Detail

      • get

        public URLCache.Info get​(java.net.URI uri)
                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • get

        public URLCache.Info get​(java.io.File file,
                                 java.net.URI uri)
                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • toName

        public static java.lang.String toName​(java.net.URI uri)
                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • update

        public static void update​(java.io.File file,
                                  java.lang.String tag)
      • getCacheFileFor

        public java.io.File getCacheFileFor​(java.net.URI url)
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception