org.jnetpcap.util.config
Interface JConfig.SearchPath

All Known Implementing Classes:
JConfig.ClasspathSearch, JConfig.FilesystemSearch, JConfig.URLSearch
Enclosing class:
JConfig

public static interface JConfig.SearchPath

Interface used to piece together specific types of search paths. Impelementing class defines whatever mechanism, use of properties, file checks and defualt values that are deemed neccessary to produce an IO Stream.

Author:
Mark Bednarczyk, Sly Technologies, Inc.

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)
           
 

Method Detail

getFile

java.io.File getFile(java.lang.String name)
                     throws java.io.IOException
Throws:
java.io.IOException

getInputStream

java.io.InputStream getInputStream(java.lang.String name)
                                   throws java.io.IOException
Throws:
java.io.IOException

getURL

java.net.URL getURL(java.lang.String name)
                    throws java.io.IOException
Throws:
java.io.IOException

getDir

java.io.File getDir(java.lang.String name)
Parameters:
object -
Returns: