public class ZipFileClassPathEntry extends ClassPathEntry
Modifier and Type | Method and Description |
---|---|
static void |
clearCache() |
Map<AbstractResource,ResourceResolution> |
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, hashCode, toString
public 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.IOException
public Map<AbstractResource,ResourceResolution> findApplicableResources(TreeLogger logger, PathPrefixSet pathPrefixSet)
findApplicableResources
in class ClassPathEntry
public String getLocation()
ClassPathEntry
getLocation
in class ClassPathEntry
public ZipFile getZipFile()
public long lastModified()
Copyright © 2018. All rights reserved.