Class TimeStampedFileCache<T>

java.lang.Object
org.nustaq.kontraktor.webapp.transpiler.jsx.TimeStampedFileCache<T>

public class TimeStampedFileCache<T>
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    TimeStampedFileCache()  
  • Method Summary

    Modifier and Type Method Description
    T get​(java.io.File f)  
    static java.lang.String getCanonicalPath​(java.io.File f)  
    java.lang.String getKey​(java.io.File f)  
    void put​(java.io.File f, T result)  

    Methods inherited from class java.lang.Object

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

  • Method Details

    • getCanonicalPath

      public static java.lang.String getCanonicalPath​(java.io.File f) throws java.io.IOException
      Throws:
      java.io.IOException
    • put

      public void put​(java.io.File f, T result)
    • get

      public T get​(java.io.File f)
    • getKey

      public java.lang.String getKey​(java.io.File f)