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()
           
 Resource getFile()
          return file object, based on sourcefile
 String getFullClassName()
           
 String getPackageName()
           
 Resource getPhyscalFile()
          return file object, based on physical path and realpath
 String getRealPathAsVariableString()
           
 

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

getFile

Resource getFile()
return file object, based on sourcefile

Returns:
file Object


Copyright © 2012 Railo