
public class ZipFileClassPathEntry extends ClassPathEntry
| Modifier and Type | Method and Description |
|---|---|
static void |
clearCache() |
Map<AbstractResource,PathPrefix> |
findApplicableResources(TreeLogger logger,
PathPrefixSet pathPrefixSet)
Indexes the zip file on-demand, and only once over the life of the process.
|
static ZipFileClassPathEntry |
get(File zipFile) |
String |
getLocation()
Gets a URL string that describes this class path entry.
|
ZipFile |
getZipFile() |
long |
lastModified() |
equals, findApplicableResources, hashCode, toStringpublic static void clearCache()
public static ZipFileClassPathEntry get(File zipFile) throws IOException
ZipFileClassPathEntry instance for given jar or zip
file, may be shared with other users.IOExceptionpublic Map<AbstractResource,PathPrefix> findApplicableResources(TreeLogger logger, PathPrefixSet pathPrefixSet)
findApplicableResources in class ClassPathEntrypublic String getLocation()
ClassPathEntrygetLocation in class ClassPathEntrypublic ZipFile getZipFile()
public long lastModified()
Copyright © 2018. All rights reserved.