org.codehaus.enunciate.main
Interface ClasspathResource

All Known Implementing Classes:
FileClasspathResource, JarClasspathResource

public interface ClasspathResource

An entry (class, source file, config file) on the classpath.

Author:
Ryan Heaton

Method Summary
 java.lang.String getPath()
          The path (slash-separated directories) of the classpath entry.
 java.io.InputStream read()
          Read the classpath entry.
 

Method Detail

getPath

java.lang.String getPath()
The path (slash-separated directories) of the classpath entry.

Returns:
The path of the classpath entry.

read

java.io.InputStream read()
                         throws java.io.IOException
Read the classpath entry.

Returns:
The stream to the classpath entry.
Throws:
java.io.IOException