commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Commons Wiki] Trivial Update of "ExtractAndDecompressGzipFiles" by KenTanaka
Date Fri, 09 Nov 2007 18:15:35 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Commons Wiki" for change notification.

The following page has been changed by KenTanaka:

  For this example the sample {{{archive.tar}}} is located in the {{{/extra/data/tryVfs}}}
directory. You can see that hardcoded in the java example below. The {{{content.txt}}} and
{{{non-gzip.txt}}} files will be extracted into the same location.
  = Key Concepts =
- == Building the resolveFile '''name''' String ==
+ == Building the resolveFile 'name' String ==
  An essential ingredient for this "recipe" is the '''name''' argument for the {{{FileSystemManager.resolveFile(String
name)}}} method. See this in the lines defining and using `String gzName`, line numbers 99-101
in the code listing below. The important work of connecting to the
content.txt file inside the content.txt.gz file inside the archive.tar file is performed by
  FileSystemManager fsManager = VFS.getManager();

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message