Modifier and Type | Field and Description |
---|---|
(package private) HashMap<String,Node> |
children
.
|
(package private) File[] |
dirs
The lazy dires not yet processed.
|
private static File[] |
EMPTY
.
|
String |
name
.
|
(package private) LinkedList<Resource> |
resources
.
|
Modifier | Constructor and Description |
---|---|
|
Node() |
private |
Node(String name) |
Modifier and Type | Method and Description |
---|---|
private void |
_mergeEntries(URL url) |
private void |
addEntry(URL baseURL,
int index,
String entryName,
long lastModified,
InputStreamFactory resolver) |
private void |
addEntry(URL baseURL,
String entryName,
InputStreamFactory resolver) |
(package private) Iterable<Node> |
children() |
Iterator<Resource> |
iterator() |
(package private) void |
merge(ClassLoader loader) |
private void |
merge(File f) |
(package private) void |
mergeEntries(URL url) |
(package private) String |
rewrite(String url)
Rewrite an URL by analysing the serie of trailing
!/ . |
LinkedList<Resource> resources
void merge(ClassLoader loader) throws IOException, URISyntaxException
IOException
URISyntaxException
String rewrite(String url)
!/
. The number of jar:
prefixes
does not have to be equals to the number of separators.url
- the url to rewriteIterable<Node> children() throws IOException
IOException
void mergeEntries(URL url) throws IOException, URISyntaxException
IOException
URISyntaxException
private void _mergeEntries(URL url) throws IOException, URISyntaxException
IOException
URISyntaxException
private void merge(File f) throws IOException
IOException
private void addEntry(URL baseURL, String entryName, InputStreamFactory resolver) throws IOException
IOException
private void addEntry(URL baseURL, int index, String entryName, long lastModified, InputStreamFactory resolver) throws IOException
IOException
Copyright © 2015 eXo Platform SAS. All Rights Reserved.