org.archive.wayback.accesscontrol.staticmap
Class StaticMapExclusionFilterFactory
java.lang.Object
org.archive.wayback.accesscontrol.staticmap.StaticMapExclusionFilterFactory
- All Implemented Interfaces:
- ExclusionFilterFactory
public class StaticMapExclusionFilterFactory
- extends java.lang.Object
- implements ExclusionFilterFactory
- Version:
- $Date$, $Revision$
- Author:
- brad
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StaticMapExclusionFilterFactory
public StaticMapExclusionFilterFactory()
init
public void init()
throws java.io.IOException
- load exclusion file and startup polling thread to check for updates
- Throws:
java.io.IOException
reloadFile
protected void reloadFile()
throws java.io.IOException
- Throws:
java.io.IOException
loadFile
protected java.util.Map<java.lang.String,java.lang.Object> loadFile(java.lang.String path)
throws java.io.IOException
- Throws:
java.io.IOException
get
public ObjectFilter<CaptureSearchResult> get()
- Specified by:
get in interface ExclusionFilterFactory
- Parameters:
wbRequest -
- Returns:
- SearchResultFilter
getCheckInterval
public int getCheckInterval()
- Returns:
- the checkInterval in seconds
setCheckInterval
public void setCheckInterval(int checkInterval)
- Parameters:
checkInterval - the checkInterval in seconds to set
getFile
public java.lang.String getFile()
- Returns:
- the path
setFile
public void setFile(java.lang.String path)
- Parameters:
path - the file to set
shutdown
public void shutdown()
- Description copied from interface:
ExclusionFilterFactory
- close any resources used by this ExclusionFilter system.
- Specified by:
shutdown in interface ExclusionFilterFactory
Copyright © 2005-2009 Internet Archive. All Rights Reserved.