net.groboclown.util.jplugin.v2
Class FileIdentifiers
java.lang.Object
|
+--net.groboclown.util.jplugin.v2.FileIdentifiers
- public class FileIdentifiers
- extends Object
Searches for all file types using the given base URL
- 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_INSPECTOR_PROPERTY_NAME
private static final String FILE_INSPECTOR_PROPERTY_NAME
inspectors
private IFileInspector[] inspectors
classList
private ClassCollection classList
FileIdentifiers
public FileIdentifiers(ClassCollection cc)
addInspector
public void addInspector(IFileInspector insp)
addInspectors
public void addInspectors(Vector insp)
addInspectors
public void addInspectors(IFileInspector[] insp)
discoverURL
public void discoverURL(URL url,
ILocationSearcher ils,
URL baseUrl)
throws IOException
discoverFile
public void discoverFile(File f,
ILocationSearcher ils,
File baseFile)
throws IOException
- Attempts to discover the kind of file presented, and to
add it to the class lists.
loadInspectors
protected void loadInspectors()
- Called only once, at construction time.
Written under the LGPL