com.threerings.resource
Class ResourceManager.ResourceModifiedOp

java.lang.Object
  extended by com.threerings.resource.ResourceManager.ResourceModifiedOp
All Implemented Interfaces:
ObserverList.ObserverOp<ResourceManager.ModificationObserver>
Enclosing class:
ResourceManager

protected static class ResourceManager.ResourceModifiedOp
extends Object
implements ObserverList.ObserverOp<ResourceManager.ModificationObserver>

An observer op that calls ResourceManager.ModificationObserver.resourceModified(java.lang.String, long).


Field Summary
protected  long _lastModified
           
protected  String _path
           
 
Constructor Summary
protected ResourceManager.ResourceModifiedOp()
           
 
Method Summary
 boolean apply(ResourceManager.ModificationObserver obs)
           
 void init(String path, long lastModified)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_path

protected String _path

_lastModified

protected long _lastModified
Constructor Detail

ResourceManager.ResourceModifiedOp

protected ResourceManager.ResourceModifiedOp()
Method Detail

init

public void init(String path,
                 long lastModified)

apply

public boolean apply(ResourceManager.ModificationObserver obs)
Specified by:
apply in interface ObserverList.ObserverOp<ResourceManager.ModificationObserver>