|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.netbeans.modules.vcscore.turbo.TurboUtil
Various utility methods eliminating boilerplate constructions
over Turbo
API goes here.
Method Summary | |
static DirReaderListener |
dirReaderListener(FileSystem fs)
Returns DirReaderListener implementation that populates the cache from the command data execuded over given FS. |
static FileReaderListener |
fileReaderListener(FileSystem fs)
Returns FileReaderListener implementation that populates the cache from the command data execuded over given FS. |
static FileObject[] |
listFiles(FileObject fileObject)
Return all files in given folder (inluding virtuals) never null . |
static FileObject[] |
listFolders(FileObject fileObject)
Return all filder in given folder (inluding virtuals) never null . |
static boolean |
refreshFolder(FileObject folder)
Refreshes folder content's metadata. |
static boolean |
refreshRecursively(FileObject folder)
Recursively refreshes folder content's metadata. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static FileObject[] listFolders(FileObject fileObject)
null
.
public static FileObject[] listFiles(FileObject fileObject)
null
.
public static boolean refreshFolder(FileObject folder)
public static boolean refreshRecursively(FileObject folder)
public static FileReaderListener fileReaderListener(FileSystem fs)
It's used by e.g. LIST command.
fs
- filesystem that allows to properly match command
output to fileobjectspublic static DirReaderListener dirReaderListener(FileSystem fs)
fs
- filesystem that allows to properly match command
output to fileobjects
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |