org.bee.func
Class newerthan

java.lang.Object
  extended by org.bee.func.newerthan
Direct Known Subclasses:
newerwithdependency

public class newerthan
extends java.lang.Object


Nested Class Summary
protected static class newerthan.SmartFileFilter
           
 
Field Summary
protected static boolean DEBUG_
           
 
Constructor Summary
newerthan()
          find all files names which are newer than corresponding files in another tree
 
Method Summary
static java.util.List eval(java.lang.String srcPath, java.lang.String dstPath)
           
protected static java.lang.String extractFile(java.lang.String s)
           
protected static java.lang.String extractPath(java.lang.String s)
           
protected static java.lang.String normalize(java.lang.String s)
           
protected static void processDirectory(java.util.List<java.lang.String> result, java.io.File path, java.lang.String srcPath, java.lang.String srcMask, java.lang.String destPath, java.lang.String destMask)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG_

protected static final boolean DEBUG_
See Also:
Constant Field Values
Constructor Detail

newerthan

public newerthan()
find all files names which are newer than corresponding files in another tree

Method Detail

eval

public static java.util.List eval(java.lang.String srcPath,
                                  java.lang.String dstPath)

normalize

protected static java.lang.String normalize(java.lang.String s)

extractPath

protected static java.lang.String extractPath(java.lang.String s)

extractFile

protected static java.lang.String extractFile(java.lang.String s)

processDirectory

protected static void processDirectory(java.util.List<java.lang.String> result,
                                       java.io.File path,
                                       java.lang.String srcPath,
                                       java.lang.String srcMask,
                                       java.lang.String destPath,
                                       java.lang.String destMask)