Interface GFileSystemProbeWithFile
-
- All Superinterfaces:
GFileSystemProbe
public interface GFileSystemProbeWithFile extends GFileSystemProbe
AGFileSystemProbeinterface for filesystems that only need aFilereference to the source file.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanprobe(FSRL containerFSRL, java.io.File containerFile, FileSystemService fsService, TaskMonitor monitor)Probes the specifiedcontainerFileto determine if this filesystem implementation can handle the file.
-
-
-
Method Detail
-
probe
boolean probe(FSRL containerFSRL, java.io.File containerFile, FileSystemService fsService, TaskMonitor monitor) throws java.io.IOException, CancelledException
Probes the specifiedcontainerFileto determine if this filesystem implementation can handle the file.- Parameters:
containerFSRL- theFSRLof the file being probedcontainerFile- theFile(probably in the filecache with non-useful filename) being probed.fsService- a reference to theFileSystemServiceobjectmonitor- aTaskMonitorthat should be polled to see if the user has requested to cancel the operation, and updated with progress information.- Returns:
trueif the specified file is handled by this filesystem implementation,falseif not.- Throws:
java.io.IOException- if there is an error reading files.CancelledException- if the user cancels
-
-