com.opensymphony.xwork2.util.fs
Class FileRevision

java.lang.Object
  extended by com.opensymphony.xwork2.util.fs.Revision
      extended by com.opensymphony.xwork2.util.fs.FileRevision

public class FileRevision
extends Revision

Represents file resource revision, used for file://* resources


Method Summary
static Revision build(URL fileUrl)
           
 File getFile()
           
 long getLastModified()
           
 boolean needsReloading()
           
 void setLastModified(long lastModified)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

build

public static Revision build(URL fileUrl)

getFile

public File getFile()

setLastModified

public void setLastModified(long lastModified)

getLastModified

public long getLastModified()

needsReloading

public boolean needsReloading()
Overrides:
needsReloading in class Revision


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