| Modifier and Type | Class and Description |
|---|---|
| public static interface | ClassPath.ClassFile
Contains information about file/ZIP entry of the Java class. |
| private static class | |
| private static class | |
| private abstract static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private static final String | |
| private ClassPath. | |
| private static ClassPath |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public byte[] | |
| public byte[] | |
| public ClassPath. | Returns: class file for the java classfully qualified file name, e.g. java/lang/String name, String file name ends with suff, e.g. .java suffix)
|
| public ClassPath. | Returns: input stream for classfully qualified class name, e.g. java.lang.String name)
|
| public static final String | Returns: class path as used by default by BCELChecks for class path components in the following properties: "java.class.path", "sun.boot.class.path", "java.ext.dirs" |
| public InputStream | Returns: input stream for classfully qualified class name, e.g. java.lang.String name)
|
| public InputStream | Returns: input stream for file on class pathfully qualified file name, e.g. java/lang/String name, String file name ends with suff, e.g. .java suffix)Return stream for class or resource on CLASSPATH. |
| public String | |
| public String | |
| private static final void | |
| public static ClassPath | |
| public int | |
| public String | Returns: used class path stringOverrides java. |
| class_path | back to summary |
|---|---|
| private String class_path | |
| JRT_FS | back to summary |
|---|---|
| private static final String JRT_FS | |
| paths | back to summary |
|---|---|
| private ClassPath. | |
| SYSTEM_CLASS_PATH | back to summary |
|---|---|
| private static ClassPath SYSTEM_CLASS_PATH | |
| ClassPath | back to summary |
|---|---|
| public ClassPath(String class_path) Search for classes in given path. | |
| ClassPath | back to summary |
|---|---|
| public ClassPath()
Deprecated Use SYSTEM_CLASS_PATH constant Search for classes in CLASSPATH.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getBytes | back to summary |
|---|---|
| public byte[] getBytes(String name, String suffix) throws IOException | |
| getBytes | back to summary |
|---|---|
public byte[] getBytes(String name) throws IOException
| |
| getClassFile | back to summary |
|---|---|
| public ClassPath. | |
| getClassFile | back to summary |
|---|---|
| public ClassPath. | |
| getClassPath | back to summary |
|---|---|
| public static final String getClassPath() Checks for class path components in the following properties: "java.class.path", "sun.boot.class.path", "java.ext.dirs"
| |
| getInputStream | back to summary |
|---|---|
public InputStream getInputStream(String name) throws IOException
| |
| getInputStream | back to summary |
|---|---|
| public InputStream getInputStream(String name, String suffix) throws IOException Return stream for class or resource on CLASSPATH.
| |
| getPath | back to summary |
|---|---|
| public String getPath(String name) throws IOException | |
| getPath | back to summary |
|---|---|
| public String getPath(String name, String suffix) throws IOException | |
| getPathComponents | back to summary |
|---|---|
| private static final void getPathComponents(String path, List<String> list) | |
| getSystemClassPath | back to summary |
|---|---|
| public static ClassPath getSystemClassPath() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: base path of found class, i.e. class is contained relative to that path, which may either denote a directory, or zip file
|
| public InputStream | |
| public String | |
| public long | |
| public long |
| getBase | back to summary |
|---|---|
public String getBase()
| |
| getInputStream | back to summary |
|---|---|
public InputStream getInputStream() throws IOException
| |
| getPath | back to summary |
|---|---|
public String getPath()
| |
| getSize | back to summary |
|---|---|
public long getSize()
| |
| getTime | back to summary |
|---|---|
public long getTime()
| |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv ClassPath. | getClassFile(String name, String suffix)
Implements abstract org. |
| public String |
| dir | back to summary |
|---|---|
| private String dir | |
| Dir | back to summary |
|---|---|
| pack-priv Dir(String d) | |
| getClassFile | back to summary |
|---|---|
| pack-priv ClassPath. Implements abstract org.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private FileSystem | |
| private static String | |
| private static URI | |
| private static String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private Map | |
| pack-priv ClassPath. | getClassFile(String name, String suffix)
Implements abstract org. |
| fileMap | back to summary |
|---|---|
| private final Map<String, Path> fileMap | |
| fs | back to summary |
|---|---|
| private FileSystem fs | |
| JAVA_BASE_PATH | back to summary |
|---|---|
| private static String JAVA_BASE_PATH | |
| JRT_URI | back to summary |
|---|---|
| private static URI JRT_URI | |
| MODULES_PATH | back to summary |
|---|---|
| private static String MODULES_PATH | |
| JImage | back to summary |
|---|---|
| pack-priv JImage() | |
| buildFileMap | back to summary |
|---|---|
| private Map | |
| getClassFile | back to summary |
|---|---|
| pack-priv ClassPath. Implements abstract org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private ByteArrayInputStream | |
| private String | |
| private byte[] | |
| private String | |
| private long | |
| private long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public InputStream | |
| public String | |
| public long | |
| public long |
| bais | back to summary |
|---|---|
| private ByteArrayInputStream bais | |
| base | back to summary |
|---|---|
| private String base | |
| bytes | back to summary |
|---|---|
| private byte[] bytes | |
| path | back to summary |
|---|---|
| private String path | |
| size | back to summary |
|---|---|
| private long size | |
| time | back to summary |
|---|---|
| private long time | |
| ByteBasedClassFile | back to summary |
|---|---|
| public ByteBasedClassFile(byte[] bytes, String path, String base, long time, long size) | |
| getBase | back to summary |
|---|---|
| public String getBase() Implements org.
| |
| getInputStream | back to summary |
|---|---|
| public InputStream getInputStream() throws IOException Implements org.
| |
| getPath | back to summary |
|---|---|
| public String getPath() Implements org.
| |
| getSize | back to summary |
|---|---|
| public long getSize() Implements org.
| |
| getTime | back to summary |
|---|---|
| public long getTime() Implements org.
| |
| Access | Constructor and Description |
|---|---|
| private |
| PathEntry | back to summary |
|---|---|
| private PathEntry() | |
| getClassFile | back to summary |
|---|---|
| pack-priv abstract ClassPath. | |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv ClassPath. | getClassFile(String name, String suffix)
Implements abstract org. |
| zip | back to summary |
|---|---|
| private ZipFile zip | |
| Zip | back to summary |
|---|---|
| pack-priv Zip(ZipFile z) | |
| getClassFile | back to summary |
|---|---|
| pack-priv ClassPath. Implements abstract org.
| |