borland Packages  Class Hierarchy  jbcl.util Package  Index 

SearchPath class

java.lang.Object
   +----borland.jbcl.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


SearchPath constructors

SearchPath(java.lang.String, java.lang.String)

  public SearchPath(java.lang.String baseDirList, java.lang.String relDir)
Constructs a SearchPath object.

SearchPath methods

getFile(java.lang.String)

  public File getFile(java.lang.String name)
Returns a File object containing an image's full path.

getPath(java.lang.String)

  public String getPath(java.lang.String name)
Returns a String containing an image's full path.

toString()

  public String toString()
Converts this SearchPath object into a string representation.

Overrides: java.lang.Object.toString()