com.scooterframework.autoloader
Class SourceFile
java.lang.Object
com.scooterframework.autoloader.SourceFile
public class SourceFile
- extends java.lang.Object
SourceFile contains information on source file and its corresponding class file.
Constructor Summary |
SourceFile(java.io.File file,
java.lang.String sourceDirPath)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SourceFile
public SourceFile(java.io.File file,
java.lang.String sourceDirPath)
isUpdated
public boolean isUpdated(java.io.File file)
getSource
public java.io.File getSource()
availableForRecompile
public boolean availableForRecompile()
getClassFilePath
public java.lang.String getClassFilePath()
getLastSourceModifiedTime
public long getLastSourceModifiedTime()
getLastClassModifiedTime
public long getLastClassModifiedTime()
getClassFile
public java.io.File getClassFile()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object