net.groboclown.util.jplugin.v2
Interface IFileInspector

All Known Implementing Classes:
JarFileInspector, ManifestFileInspector, ClassFileInspector

public interface IFileInspector

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

Method Summary
 void discoverFile(File f, ClassCollection cc, ILocationSearcher ils, File baseFile)
          Examine the given File, and call the correct collection method to store it.
 void discoverURL(URL url, ClassCollection cc, ILocationSearcher ils, URL baseUrl)
          Examine the given URL, and call the correct collection method to store it.
 

Method Detail

discoverURL

public void discoverURL(URL url,
                        ClassCollection cc,
                        ILocationSearcher ils,
                        URL baseUrl)
                 throws IOException
Examine the given URL, and call the correct collection method to store it.

discoverFile

public void discoverFile(File f,
                         ClassCollection cc,
                         ILocationSearcher ils,
                         File baseFile)
                  throws IOException
Examine the given File, and call the correct collection method to store it.


Written under the LGPL