|
||||||||||
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()
return file object, based on sourcefile |
String |
getFullClassName()
|
String |
getJavaName()
|
String |
getPackageName()
|
Resource |
getPhyscalFile()
return file object, based on physical path and realpath |
String |
getRealpath()
|
String |
getRealPathAsVariableString()
|
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()
SourceFile
getFile
in interface SourceFile
SourceFile.getFile()
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
SourceFile.getPhyscalFile()
public String getDisplayPath()
getDisplayPath
in interface SourceFile
SourceFile.getDisplayPath()
public String getFullClassName()
getFullClassName
in interface SourceFile
SourceFile.getFullClassName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |