Package org.apache.struts2.util.fs

# Class FileRevision

java.lang.Object
org.apache.struts2.util.fs.Revision
org.apache.struts2.util.fs.FileRevision

public class FileRevision extends Revision
Represents file resource revision, used for file://* resources

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static Revision`
  `build(URL fileUrl)`
  `File`
  `getFile()`
  `boolean`
  `needsReloading()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### build

    public static Revision build(URL fileUrl)

  - ### getFile

    public File getFile()

  - ### needsReloading

    public boolean needsReloading()
    Overrides:
      `needsReloading` in class `Revision`