org.jnetpcap.util.config
Class JConfig.ClasspathSearch

java.lang.Object
  extended by org.jnetpcap.util.config.JConfig.ClasspathSearch
All Implemented Interfaces:
JConfig.SearchPath
Enclosing class:
JConfig

protected static class JConfig.ClasspathSearch
extends java.lang.Object
implements JConfig.SearchPath


Constructor Summary
JConfig.ClasspathSearch(ConfigString resource)
           
 
Method Summary
 java.io.File getDir(java.lang.String name)
           
 java.io.File getFile(java.lang.String name)
           
 java.io.InputStream getInputStream(java.lang.String name)
           
 java.net.URL getURL(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JConfig.ClasspathSearch

public JConfig.ClasspathSearch(ConfigString resource)
Parameters:
resource -
Method Detail

getFile

public java.io.File getFile(java.lang.String name)
                     throws java.io.IOException
Specified by:
getFile in interface JConfig.SearchPath
Throws:
java.io.IOException

getInputStream

public java.io.InputStream getInputStream(java.lang.String name)
                                   throws java.io.IOException
Specified by:
getInputStream in interface JConfig.SearchPath
Throws:
java.io.IOException

getURL

public java.net.URL getURL(java.lang.String name)
                    throws java.io.IOException
Specified by:
getURL in interface JConfig.SearchPath
Throws:
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getDir

public java.io.File getDir(java.lang.String name)
Specified by:
getDir in interface JConfig.SearchPath
Returns: