org.apache.jetspeed.portal.expire
Class FileWatchExpire

java.lang.Object
  extended byorg.apache.jetspeed.portal.expire.BaseExpire
      extended byorg.apache.jetspeed.portal.expire.FileWatchExpire
All Implemented Interfaces:
Expire, java.io.Serializable

public class FileWatchExpire
extends BaseExpire

Handles expiration mechanisms that expire when the file changes.

Version:
$Id: FileWatchExpire.java,v 1.10 2004/02/23 03:24:40 jford Exp $
Author:
Kevin A. Burton
See Also:
Serialized Form

Constructor Summary
FileWatchExpire()
           
 
Method Summary
 boolean isExpired()
          Return true if this object has expired.
 void setURL(java.lang.String url)
          Set the url on which this depends.
 
Methods inherited from class org.apache.jetspeed.portal.expire.BaseExpire
getCreationTime, getPortlet, getProperty, init, setCreationTime, setExpired, setPortlet, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileWatchExpire

public FileWatchExpire()
Method Detail

isExpired

public boolean isExpired()
Description copied from interface: Expire
Return true if this object has expired. Provide your own implementation of this if you want to determine dynamic expiration.

Specified by:
isExpired in interface Expire
Overrides:
isExpired in class BaseExpire
See Also:
Expire.isExpired()

setURL

public void setURL(java.lang.String url)
Set the url on which this depends. It is required that you call this method before you use it.



Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.