|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.commons.io.SourceFileImpl
public final class SourceFileImpl
represent a cfml file on the runtime system
Constructor Summary | |
---|---|
SourceFileImpl(Resource root,
String realPath)
constructor of the class |
|
SourceFileImpl(SourceFileImpl parent,
String realPath)
constructor of the class |
Method Summary | |
---|---|
String |
getClassName()
|
String |
getDisplayPath()
|
Resource |
getFile()
|
String |
getFullClassName()
|
String |
getJavaName()
|
String |
getPackageName()
|
Resource |
getPhyscalFile()
return file object, based on physical path and realpath |
String |
getRealpath()
|
String |
getRealPathAsVariableString()
|
Resource |
getResource()
if the mapping physical path and archive is invalid or not defined, it is possible this method returns null |
Resource |
getRoot()
|
String |
getRootPathAsVariableString()
|
boolean |
hasArchive()
|
boolean |
isTrusted()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SourceFileImpl(Resource root, String realPath)
root
- rott directory of the filerealPath
- relative path to root directorypublic SourceFileImpl(SourceFileImpl parent, String realPath)
parent
- parent sourceFilerealPath
- relapath to parent sourc file (not root)Method Detail |
---|
public Resource getFile()
public Resource getResource()
SourceFile
getResource
in interface SourceFile
public String getRealpath()
public Resource getRoot()
public String getRealPathAsVariableString()
getRealPathAsVariableString
in interface SourceFile
public String getClassName()
getClassName
in interface SourceFile
public String getJavaName()
public String getPackageName()
getPackageName
in interface SourceFile
public String getRootPathAsVariableString()
public boolean hasArchive()
public boolean isTrusted()
public Resource getPhyscalFile()
SourceFile
getPhyscalFile
in interface SourceFile
public String getDisplayPath()
getDisplayPath
in interface SourceFile
public String getFullClassName()
getFullClassName
in interface SourceFile
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |