com.scooterframework.autoloader
Class SourceFileHelper

java.lang.Object
  extended by com.scooterframework.autoloader.SourceFileHelper

public class SourceFileHelper
extends java.lang.Object

SourceFileHelper contains helper methods on source file and its corresponding class file.


Constructor Summary
SourceFileHelper()
           
 
Method Summary
static java.lang.String getClassFilePath(java.io.File javaSourceFile, java.lang.String sourceDirPath)
           
static java.lang.String getClassNameFromClassFile(java.io.File javaClassFile)
           
static java.lang.String getClassNameFromSourceFile(java.io.File javaSourceFile, java.lang.String sourceDirPath)
           
static SourceFile getSourceFileFromClassName(java.lang.String className)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceFileHelper

public SourceFileHelper()
Method Detail

getSourceFileFromClassName

public static SourceFile getSourceFileFromClassName(java.lang.String className)

getClassNameFromSourceFile

public static java.lang.String getClassNameFromSourceFile(java.io.File javaSourceFile,
                                                          java.lang.String sourceDirPath)

getClassNameFromClassFile

public static java.lang.String getClassNameFromClassFile(java.io.File javaClassFile)

getClassFilePath

public static java.lang.String getClassFilePath(java.io.File javaSourceFile,
                                                java.lang.String sourceDirPath)