public class FileMatchResults
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
VirtualFile |
getDirectory()
Get the last directory that was matched to one or more files.
|
VirtualFile[] |
getVirtualFiles()
Get the files that were matched to the directory on the last match.
|
boolean |
hasMoreMatches()
Returns true only is there are still more successful matches.
|
static FileMatchResults |
instance()
Get the latest calculated FileMatchResults.
|
void |
next()
Go to the next successful match if there is one.
|
void |
setMoved(VirtualFile file)
Move the selected File to the matched directory.
|
public static FileMatchResults instance()
public VirtualFile getDirectory()
setMoved(VirtualFile)
public VirtualFile[] getVirtualFiles()
setMoved(VirtualFile)
public void setMoved(VirtualFile file)
file
- File to move.public void next()
public boolean hasMoreMatches()