public class SelectiveJarResource extends JarResource
Modifier and Type | Field and Description |
---|---|
static List<String> |
DEFAULT_EXCLUDES |
static List<String> |
DEFAULT_INCLUDES |
_jarConnection
_connection, _in, _url, _urlString
__defaultUseCaches
Constructor and Description |
---|
SelectiveJarResource(URL url) |
SelectiveJarResource(URL url,
boolean useCaches) |
Modifier and Type | Method and Description |
---|---|
void |
copyTo(File directory) |
protected boolean |
isExcluded(String name) |
protected boolean |
isIncluded(String name) |
void |
setCaseSensitive(boolean caseSensitive) |
void |
setExcludes(List<String> patterns) |
void |
setIncludes(List<String> patterns) |
checkConnection, close, exists, getFile, getInputStream, newConnection, newJarResource
addPath, delete, equals, getInputStream, getName, getReadableByteChannel, getURL, getUseCaches, hashCode, isContainedIn, isDirectory, lastModified, length, list, renameTo, toString
encode, finalize, getAlias, getAllResources, getAssociate, getDefaultUseCaches, getListHTML, getResource, getURI, getWeakETag, isContainedIn, newClassPathResource, newClassPathResource, newResource, newResource, newResource, newResource, newResource, newSystemResource, release, setAssociate, setDefaultUseCaches, toURL, writeTo
public SelectiveJarResource(URL url)
url
- public SelectiveJarResource(URL url, boolean useCaches)
url
- useCaches
- public void setCaseSensitive(boolean caseSensitive)
protected boolean isIncluded(String name)
protected boolean isExcluded(String name)
public void copyTo(File directory) throws IOException
copyTo
in class JarResource
IOException
JarResource.copyTo(java.io.File)
Copyright © 1995-2015 Webtide. All Rights Reserved.