Class PersistentCache

java.lang.Object
org.aksw.qa.annotation.cache.PersistentCache

public class PersistentCache extends Object
  • Field Details

    • log

      public static org.slf4j.Logger log
    • charset

      public String charset
    • cacheLocation

      public static String cacheLocation
    • cache

      public HashMap<String,​String> cache
  • Constructor Details

    • PersistentCache

      public PersistentCache()
  • Method Details

    • readCache

      public void readCache()
      Read the cache to a file
    • writeCache

      public void writeCache()
      Write the cache to a file
    • containsKey

      public boolean containsKey(String input)
    • get

      public String get(String input)
    • put

      public void put(String input, String output)
    • size

      public int size()