borland Packages Class Hierarchy jb.util Package
SearchPath class
java.lang.Object
+----com.borland.jb.util.SearchPath
About the SearchPath class
Constructors Properties Methods
Encapsulates a search path (such as classpath), and can perform searches along that path given a relative directory and file name.
SearchPath constructors
SearchPath properties
*Read-only properties **Write-only properties
Properties implemented in java.lang.Object
SearchPath methods
Methods implemented in this class
Methods implemented in java.lang.Object
- clone()
- equals(java.lang.Object)
- finalize()
- hashCode()
- notify()
- notifyAll()
- wait()
- wait(long)
- wait(long, int)
SearchPath constructors
SearchPath(java.lang.String, java.lang.String)
public SearchPath(String baseDirList, String relDir)
Constructs a SearchPath object, with the image's full path.
Parameters:
- baseDirList
- The name of the image's base directory.
- relDir
- The name of the image's directory, relative to the base directory.
SearchPath methods
getFile(java.lang.String)
public File getFile(String name)
Returns a File object containing an image's full path.
Parameters:
- name
- The name of the image.
getPath(java.lang.String)
public String getPath(String name)
Returns a String containing an image's full path.
Parameters:
- name
- The name of the image.
toString()
public String toString()
Converts this SearchPath object into a string representation.
Overrides:
java.lang.Object.toString()