com.scooterframework.autoloader
Class SourceFile

java.lang.Object
  extended by 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)
           
 
Method Summary
 boolean availableForRecompile()
           
 java.io.File getClassFile()
           
 java.lang.String getClassFilePath()
           
 long getLastClassModifiedTime()
           
 long getLastSourceModifiedTime()
           
 java.io.File getSource()
           
 boolean isUpdated(java.io.File file)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SourceFile

public SourceFile(java.io.File file,
                  java.lang.String sourceDirPath)
Method Detail

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