Examples of HistoryAccessHandler


Examples of isi.pasco2.handler.HistoryAccessHandler

  protected void parseRecord(IndexFile file, int currrecoff,
      DefaultHandler handler) throws IOException {
    file.seek(currrecoff);
    byte[] rec;
    HistoryAccessHandler cacheHandler = (HistoryAccessHandler) handler;
    file.seek(currrecoff);
    byte[] type = new byte[4];
    file.read(type, 0, 4);
    String typeStr = new String(type);
    try {
View Full Code Here

Examples of isi.pasco2.handler.HistoryAccessHandler

    StringBuffer url = readURL(fr, currrecoff);
    //StringBuffer filename = readFileName(fr, currrecoff);
    //String dirname = readDirName(fr, currrecoff);
    //StringBuffer httpheaders = readHTTPHeaders(fr, currrecoff, reclen);

    HistoryAccessHandler h = (HistoryAccessHandler) handler;
    if (type.startsWith("URL")) {
      h.URLRecord(lastAccessTime, accessTime, modTime, url.toString(),
          numberOfAccesses);
    }
   
    // TODO I havent seen a History file with a LEAK record in it yet... but should
    // handle this gracefully
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.