Skip to content

Commit

Permalink
javadocs
Browse files Browse the repository at this point in the history
  • Loading branch information
alesj committed Jun 3, 2008
1 parent e3f8ba4 commit 9f7a881
Showing 1 changed file with 11 additions and 3 deletions.
Expand Up @@ -221,8 +221,7 @@ public VirtualFileHandler createVirtualFileHandler(VirtualFileHandler parent, Fi
{
try
{
DelegatingHandler delegator = mountZipFS(parent, name, file);
return delegator;
return mountZipFS(parent, name, file);
}
catch (Exception e)
{
Expand All @@ -235,6 +234,16 @@ public VirtualFileHandler createVirtualFileHandler(VirtualFileHandler parent, Fi
return createVirtualFileHandler(parent, file, getFileURI(file));
}

/**
* Create zip file system.
*
* @param parent the parent
* @param name the name
* @param file the file
* @return new zip fs delegating handler
* @throws IOException for any error
* @throws URISyntaxException for any URI syntax error
*/
protected DelegatingHandler mountZipFS(VirtualFileHandler parent, String name, File file) throws IOException, URISyntaxException
{
DelegatingHandler delegator = new DelegatingHandler(this, parent, name);
Expand Down Expand Up @@ -335,5 +344,4 @@ public Boolean run()
return Boolean.valueOf(forceString);
}
}

}

0 comments on commit 9f7a881

Please sign in to comment.