php.java.bridge
Class JarLibraryPath

java.lang.Object
  extended by php.java.bridge.JarLibraryPath

public class JarLibraryPath
extends java.lang.Object

Holds a checked JarLibraryPath entry


Constructor Summary
JarLibraryPath(java.lang.String rawPath, java.lang.String rawContextDir, java.lang.String cwd, java.lang.String searchpath)
          Create a checked JarLibraryPath entry
 
Method Summary
 void addToCache()
          Adds this entry to the cache
 boolean equals(java.lang.Object o)
           
 java.lang.String getPath()
          Return the path
 java.net.URL[] getURLs()
          Return the urls associated with this entry
 int hashCode()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JarLibraryPath

public JarLibraryPath(java.lang.String rawPath,
                      java.lang.String rawContextDir,
                      java.lang.String cwd,
                      java.lang.String searchpath)
               throws java.io.IOException
Create a checked JarLibraryPath entry

Parameters:
rawPath - The path or file in the local file system or url
rawContextDir - The context directory, for example c:\php
searchpath -
cwd -
Throws:
IOException, - if the local path or file does not exist or cannot be accessed
java.io.IOException
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

getURLs

public java.net.URL[] getURLs()
Return the urls associated with this entry

Returns:
The url value
Throws:
java.io.IOException

getPath

public java.lang.String getPath()
Return the path

Returns:
the key

addToCache

public void addToCache()
Adds this entry to the cache