|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jini.tool.JarWrapper.SourceJarURL
private static class JarWrapper.SourceJarURL
Represents URL to a source JAR file. Source JAR URLs must be relative, and may contain HTTPMD digests.
Field Summary | |
---|---|
(package private) String |
algorithm
HTTPMD digest algorithm, or null if non-HTTPMD URL |
private File |
baseDir
Base directory associated with relative path for JAR file, only set in case the flatten classpath option is used. |
(package private) String |
comment
HTTPMD digest comment, or null if non-HTTPMD URL |
(package private) String |
digest
HTTPMD digest value, or null if non-HTTPMD URL |
private static Pattern |
httpmdPattern
|
(package private) String |
path
URL path component, excluding any HTTPMD information |
(package private) String |
raw
raw URL string, including HTTPMD information (if any) |
Constructor Summary | |
---|---|
JarWrapper.SourceJarURL(String raw)
Creates SourceJarURL based on given raw URL string. |
|
JarWrapper.SourceJarURL(String raw,
File baseDir)
Creates SourceJarURL based on given raw URL string that has an individual associated base directory. |
|
JarWrapper.SourceJarURL(String path,
String algorithm,
String digest,
String comment)
Creates SourceJarURL based on given components. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
int |
hashCode()
|
(package private) JarWrapper.SourceJarURL |
resolve(JarWrapper.SourceJarURL other)
Resolves given URL relative to this URL. |
(package private) File |
toFile()
Returns file represented by this URL. |
(package private) File |
toFile(File base)
Returns file represented by this URL. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final Pattern httpmdPattern
final String raw
final String path
final String algorithm
final String digest
final String comment
private File baseDir
Constructor Detail |
---|
JarWrapper.SourceJarURL(String raw) throws IOException
IOException
JarWrapper.SourceJarURL(String raw, File baseDir) throws IOException
IOException
JarWrapper.SourceJarURL(String path, String algorithm, String digest, String comment)
Method Detail |
---|
JarWrapper.SourceJarURL resolve(JarWrapper.SourceJarURL other)
File toFile()
File toFile(File base)
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |