railo.runtime
Interface SourceFile

All Superinterfaces:
Serializable
All Known Subinterfaces:
PageSource
All Known Implementing Classes:
PageSourceImpl, SourceFileImpl

public interface SourceFile
extends Serializable

represent a cfml source file


Method Summary
 String getClassName()
           
 String getDisplayPath()
           
 String getFullClassName()
           
 String getPackageName()
           
 Resource getPhyscalFile()
          return file object, based on physical path and realpath
 String getRealPathAsVariableString()
           
 Resource getResource()
          if the mapping physical path and archive is invalid or not defined, it is possible this method returns null
 

Method Detail

getPhyscalFile

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

Returns:
file Object

getDisplayPath

String getDisplayPath()
Returns:
return source path as String

getFullClassName

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

getClassName

String getClassName()
Returns:
returns the a classname matching to filename (Example: test_cfm)

getPackageName

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

getRealPathAsVariableString

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

getResource

Resource getResource()
if the mapping physical path and archive is invalid or not defined, it is possible this method returns null

Returns:
base Resource


Copyright © 2012 Railo