railo.runtime
Interface SourceFile

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
PageSource

public interface SourceFile
extends java.io.Serializable

represent a cfml source file


Method Summary
 java.lang.String getClassName()
           
 java.lang.String getDisplayPath()
           
 Resource getFile()
          return file object, based on sourcefile
 java.lang.String getFullClassName()
           
 java.lang.String getPackageName()
           
 Resource getPhyscalFile()
          return file object, based on physical path and realpath
 java.lang.String getRealPathAsVariableString()
           
 

Method Detail

getPhyscalFile

public Resource getPhyscalFile()
return file object, based on physical path and realpath

Returns:
file Object

getDisplayPath

public java.lang.String getDisplayPath()
Returns:
return source path as String

getFullClassName

public java.lang.String getFullClassName()
Returns:
returns the full classname (package and name) matching to filename (Example: my.package.test_cfm)

getClassName

public java.lang.String getClassName()
Returns:
returns the a classname matching to filename (Example: test_cfm)

getPackageName

public java.lang.String getPackageName()
Returns:
returns the a package matching to file (Example: railo.web)

getRealPathAsVariableString

public java.lang.String getRealPathAsVariableString()
Returns:
returns a variable string based on realpath and return it

getFile

public Resource getFile()
return file object, based on sourcefile

Returns:
file Object