net.groboclown.util.jplugin.v2
Class FileSearcher
java.lang.Object
|
+--net.groboclown.util.jplugin.v2.FileSearcher
- All Implemented Interfaces:
- ILocationSearcher
- public class FileSearcher
- extends Object
- implements ILocationSearcher
Examines a given file or URL, and adds it to the correct list based
on its attributes.
- Version:
- 0.9.0 Alpha
- Author:
- Matt Albrecht
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
FILE_PROTOCOL
private static final String FILE_PROTOCOL
FileSearcher
public FileSearcher()
- Default Constructor
search
public void search(URL baseUrl,
FileIdentifiers fi)
throws IOException
- Search the given URL for files. Each discovered file should be
given to the FileIdentifiers instance. If the given URL type is
not supported by the instance, then the instance should quit the
method quietly, without an error.
- Specified by:
search
in interface ILocationSearcher
search
public void search(File f,
FileIdentifiers fi,
File baseFile)
throws IOException
Written under the LGPL