org.jostraca.util
Class FileBuildResource

java.lang.Object
  extended byorg.jostraca.util.BuildResourceSupport
      extended byorg.jostraca.util.FileBuildResource
All Implemented Interfaces:
BuildResource, Standard
Direct Known Subclasses:
FileRefBuildResource

public class FileBuildResource
extends BuildResourceSupport

FileBuildResource compares two files and is uptodate if the files are uptodate with respect to each other: later is modified after ealier.


Nested Class Summary
 
Nested classes inherited from class org.jostraca.util.BuildResourceSupport
BuildResourceSupport.BuildResourceOperator
 
Field Summary
protected  java.io.File iEarlier
           
protected  java.io.File iLater
           
 
Fields inherited from class org.jostraca.util.BuildResourceSupport
CN, iBuildResourceList, iBuildResourceMap, iThisLastUptodate, MN_add
 
Fields inherited from interface org.jostraca.util.Standard
BACKSLASH, CHAR_BACKSLASH, CHAR_CLOSE_SQUARE_BRACKET, CHAR_COLON, CHAR_COMMA, CHAR_DOT, CHAR_EQUALS, CHAR_FORWARDSLASH, CHAR_GREATERTHAN, CHAR_LESSTHAN, CHAR_MINUS, CHAR_NEWLINE, CHAR_OPEN_SQUARE_BRACKET, CHAR_PERCENT, CHAR_QUOTE, CHAR_RETURN, CHAR_SEMICOLON, CHAR_SPACE, CHAR_TAB, CHAR_ZERO, CLOSE_BRACE, CLOSE_BRACKET, CLOSE_SQUARE_BRACKET, COLON, COLON_OPEN_SQUARE_BRACKET, COLON_SPACE, COMMA, COMMA_SPACE, Directive, DOT, DOT_PROPERTIES, DOTDOT, EMPTY, EMPTY_STRING_ARRAY, EMPTY_STRINGBUFFER, EQUALS, Expression, FORWARDSLASH, GREATERTHAN, INDENT, Insert, IS_NULL, LESSTHAN, MINUS, NEWLINE, NO, OPEN_BRACE, OPEN_BRACKET, OPEN_SQUARE_BRACKET, PERCENT, QUOTE, Script, SEMICOLON, SPACE, TAB, Text, UNDEFINED, UNKNOWN, UTIL_TRACKER, YES, ZERO
 
Constructor Summary
protected FileBuildResource()
           
  FileBuildResource(java.io.File pEarlier, java.io.File pLater)
           
 
Method Summary
 boolean equals(java.lang.Object pObject)
           
 java.io.File getEarlier()
           
 java.io.File getLater()
           
 java.lang.String toStringImpl()
           
 boolean uptodateImpl()
           
 
Methods inherited from class org.jostraca.util.BuildResourceSupport
add, toString, toStringStatus, uptodate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

iEarlier

protected java.io.File iEarlier

iLater

protected java.io.File iLater
Constructor Detail

FileBuildResource

public FileBuildResource(java.io.File pEarlier,
                         java.io.File pLater)

FileBuildResource

protected FileBuildResource()
Method Detail

uptodateImpl

public boolean uptodateImpl()
Specified by:
uptodateImpl in class BuildResourceSupport

toStringImpl

public java.lang.String toStringImpl()
Specified by:
toStringImpl in class BuildResourceSupport

getEarlier

public java.io.File getEarlier()

getLater

public java.io.File getLater()

equals

public boolean equals(java.lang.Object pObject)


Copyright © 2000-2002 Richard Rodger