| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| public abstract static class | |
| pack-priv class | |
| pack-priv abstract static class | |
| pack-priv static class | |
| pack-priv static class | ClassPathManager.JImageEntry
Maintains a shared package cache for java runtime image. |
| pack-priv static class | |
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| private List | |
| private static URI | |
| private static final int | |
| private static int | |
| private List | |
| private static Trace |
| Access | Constructor and Description |
|---|---|
| public | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public ClassPathManager. | |
| public List | |
| private static String | |
| pack-priv static boolean | |
| public String |
| entries | back to summary |
|---|---|
| private List<ClassPathManager. | |
| JRT_URI | back to summary |
|---|---|
| private static URI JRT_URI | |
| MAXOPEN_DEFAULT | back to summary |
|---|---|
| private static final int MAXOPEN_DEFAULT | |
| maxOpenArchives | back to summary |
|---|---|
| private static int maxOpenArchives | |
| openArchives | back to summary |
|---|---|
| private List<ZipFile> openArchives | |
| trace | back to summary |
|---|---|
| private static Trace trace | |
| ClassPathManager | back to summary |
|---|---|
| public ClassPathManager(List<String> classpath, IMessageHandler handler) | |
| ClassPathManager | back to summary |
|---|---|
| protected ClassPathManager() | |
| addPath | back to summary |
|---|---|
| public void addPath(String name, IMessageHandler handler) | |
| closeArchives | back to summary |
|---|---|
| public void closeArchives() | |
| find | back to summary |
|---|---|
| public ClassPathManager. | |
| getEntries | back to summary |
|---|---|
| public List | |
| getSystemPropertyWithoutSecurityException | back to summary |
|---|---|
| private static String getSystemPropertyWithoutSecurityException(String aPropertyName, String aDefaultValue) | |
| hasClassExtension | back to summary |
|---|---|
| pack-priv static boolean hasClassExtension(String name) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| Modifier and Type | Field and Description |
|---|---|
| private ByteArrayInputStream | |
| private byte[] | |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public InputStream | getInputStream()
Implements abstract org. |
| public String |
| bais | back to summary |
|---|---|
| private ByteArrayInputStream bais | |
| bytes | back to summary |
|---|---|
| private byte[] bytes | |
| path | back to summary |
|---|---|
| private String path | |
| ByteBasedClassFile | back to summary |
|---|---|
| public ByteBasedClassFile(byte[] bytes, String path) | |
| close | back to summary |
|---|---|
| public void close() Implements abstract org.
| |
| getInputStream | back to summary |
|---|---|
| public InputStream getInputStream() throws IOException Implements abstract org.
| |
| getPath | back to summary |
|---|---|
| public String getPath() Implements abstract org.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract void | |
| public abstract InputStream | |
| public abstract String |
| ClassFile | back to summary |
|---|---|
| public ClassFile() | |
| close | back to summary |
|---|---|
| public abstract void close() | |
| getInputStream | back to summary |
|---|---|
| public abstract InputStream getInputStream() throws IOException | |
| getPath | back to summary |
|---|---|
| public abstract String getPath() | |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ClassPathManager. | |
| public String |
| dirPath | back to summary |
|---|---|
| private String dirPath | |
| DirEntry | back to summary |
|---|---|
| public DirEntry(File dir) | |
| DirEntry | back to summary |
|---|---|
| public DirEntry(String dirPath) | |
| find | back to summary |
|---|---|
| public ClassPathManager. Implements abstract org.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public abstract ClassPathManager. |
| Entry | back to summary |
|---|---|
| pack-priv Entry() | |
| find | back to summary |
|---|---|
| public abstract ClassPathManager. | |
| Modifier and Type | Field and Description |
|---|---|
| private File | |
| private FileInputStream |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public InputStream | getInputStream()
Implements abstract org. |
| public String |
| FileClassFile | back to summary |
|---|---|
| public FileClassFile(File file) | |
| close | back to summary |
|---|---|
| public void close() Implements abstract org.
| |
| getInputStream | back to summary |
|---|---|
| public InputStream getInputStream() throws IOException Implements abstract org.
| |
| getPath | back to summary |
|---|---|
| public String getPath() Implements abstract org.
| |
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv class | |
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| private ClassPathManager. | |
| private static Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private synchronized void | buildPackageMap()
Create a map from package names to the specific directory of the package members in the filesystem. |
| public ClassPathManager. | |
| pack-priv Map | |
| pack-priv Map | |
| private Path |
| state | back to summary |
|---|---|
| private ClassPathManager. | |
| states | back to summary |
|---|---|
| private static Map<String, ClassPathManager. | |
| JImageEntry | back to summary |
|---|---|
| public JImageEntry(String jrtFsPath) | |
| buildPackageMap | back to summary |
|---|---|
| private synchronized void buildPackageMap() Create a map from package names to the specific directory of the package members in the filesystem. | |
| find | back to summary |
|---|---|
| public ClassPathManager. Implements abstract org.
| |
| getFileCache | back to summary |
|---|---|
| pack-priv Map | |
| getPackageCache | back to summary |
|---|---|
| pack-priv Map | |
| searchForFileAndCache | back to summary |
|---|---|
| private Path searchForFileAndCache(final Path startPath, final String name) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Map | |
| private final FileSystem | |
| private final String | |
| pack-priv Map | |
| pack-priv boolean |
| Access | Constructor and Description |
|---|---|
| public |
| fileCache | back to summary |
|---|---|
| pack-priv Map<String, Path> fileCache | |
| fs | back to summary |
|---|---|
| private final FileSystem fs | |
| jrtFsPath | back to summary |
|---|---|
| private final String jrtFsPath | |
| packageCache | back to summary |
|---|---|
| pack-priv Map<String, Path> packageCache | |
| packageCacheInitialized | back to summary |
|---|---|
| pack-priv boolean packageCacheInitialized | |
| JImageState | back to summary |
|---|---|
| public JImageState(String jrtFsPath, FileSystem fs) | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public FileVisitResult | visitFile(Path
a reference to the file file, BasicFileAttributes the file's basic attributes attrs)Overrides java. Implements java. |
| PackageCacheBuilderVisitor | back to summary |
|---|---|
| pack-priv PackageCacheBuilderVisitor() | |
| visitFile | back to summary |
|---|---|
| public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException Overrides java. Implements java. Doc from java. Invoked for a file in a directory. Unless overridden, this method returns
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public FileVisitResult | visitFile(Path
a reference to the file file, BasicFileAttributes the file's basic attributes attrs)Overrides java. Implements java. |
| filesSearchedCount | back to summary |
|---|---|
| public int filesSearchedCount | |
| found | back to summary |
|---|---|
| public Path found | |
| name | back to summary |
|---|---|
| private String name | |
| TypeIdentifier | back to summary |
|---|---|
| public TypeIdentifier(String name) | |
| visitFile | back to summary |
|---|---|
| public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException Overrides java. Implements java. Doc from java. Invoked for a file in a directory. Unless overridden, this method returns
| |
| Modifier and Type | Field and Description |
|---|---|
| private ZipEntry | |
| private InputStream | |
| private ClassPathManager. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public InputStream | getInputStream()
Implements abstract org. |
| public String |
| entry | back to summary |
|---|---|
| private ZipEntry entry | |
| is | back to summary |
|---|---|
| private InputStream is | |
| zipFile | back to summary |
|---|---|
| private ClassPathManager. | |
| ZipEntryClassFile | back to summary |
|---|---|
| public ZipEntryClassFile(ClassPathManager. | |
| close | back to summary |
|---|---|
| public void close() Implements abstract org.
| |
| getInputStream | back to summary |
|---|---|
| public InputStream getInputStream() throws IOException Implements abstract org.
| |
| getPath | back to summary |
|---|---|
| public String getPath() Implements abstract org.
| |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| private void | |
| public ClassPathManager. | |
| public List | |
| public ZipFile | |
| private boolean | |
| public String |
| ZipFileEntry | back to summary |
|---|---|
| public ZipFileEntry(File file) throws IOException | |
| ZipFileEntry | back to summary |
|---|---|
| public ZipFileEntry(ZipFile zipFile) | |
| close | back to summary |
|---|---|
| public void close() | |
| closeSomeArchives | back to summary |
|---|---|
| public void closeSomeArchives(int n) | |
| ensureOpen | back to summary |
|---|---|
| private void ensureOpen() throws IOException | |
| find | back to summary |
|---|---|
| public ClassPathManager. Implements abstract org.
| |
| getAllClassFiles | back to summary |
|---|---|
| public List | |
| getZipFile | back to summary |
|---|---|
| public ZipFile getZipFile() | |
| isReallyOpen | back to summary |
|---|---|
| private boolean isReallyOpen() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |