org.sakaiproject.search.util
Class DigestStorageUtil

java.lang.Object
  extended by org.sakaiproject.search.util.DigestStorageUtil

public class DigestStorageUtil
extends Object


Constructor Summary
DigestStorageUtil(SearchService searchService)
           
 
Method Summary
 void cleanOldDigests(String ref)
           
 void deleteAllDigests(String reference)
           
 int getDocCount(String ref)
           
 StringBuilder getFileContents(String ref, String digestCount)
           
 String getPath(String reference)
           
 void saveContentToStore(String ref, String content, int version)
          Save the digested content to a disc store
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DigestStorageUtil

public DigestStorageUtil(SearchService searchService)
Method Detail

getPath

public String getPath(String reference)

getFileContents

public StringBuilder getFileContents(String ref,
                                     String digestCount)

saveContentToStore

public void saveContentToStore(String ref,
                               String content,
                               int version)
Save the digested content to a disc store

Parameters:
ref -
content -

getDocCount

public int getDocCount(String ref)

cleanOldDigests

public void cleanOldDigests(String ref)

deleteAllDigests

public void deleteAllDigests(String reference)


Copyright © 2003-2012 Sakai Project. All Rights Reserved.