|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISolutionFile
A solution file is an abstract represention of either a file or a directory. This allows us to treat files and directories as the same thing for the purposes of hierarchical navigation
Method Summary | |
---|---|
boolean |
exists()
|
byte[] |
getData()
|
String |
getExtension()
|
String |
getFileName()
|
String |
getFullPath()
|
long |
getLastModified()
|
String |
getSolution()
|
String |
getSolutionPath()
|
boolean |
isDirectory()
|
boolean |
isRoot()
|
ISolutionFile[] |
listFiles()
If this is a directory, will list all children files/directories for hierarchical navigation. |
ISolutionFile[] |
listFiles(IFileFilter filter)
|
ISolutionFile |
retrieveParent()
NOTE: This method is named 'retrieveParent' instead of 'getParent' because the generic ISolutionFile type is not a 'Hibernate' described type and one of the base classes (RepositoryFile) will fail dependency checking. |
Method Detail |
---|
boolean isDirectory()
String getFileName()
String getSolutionPath()
String getSolution()
String getFullPath()
ISolutionFile[] listFiles()
ISolutionFile[] listFiles(IFileFilter filter)
boolean isRoot()
ISolutionFile retrieveParent()
byte[] getData()
boolean exists()
long getLastModified()
String getExtension()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |