[gephi-dev] Adding TAR.GZ archives support
bujacik at gmail.com
Fri Nov 26 17:35:32 CET 2010
And about the classes,
search for ImportAPI module -> ImportControllerImpl class -> private
FileObject getArchivedFile(FileObject fileObject) method which
delegates the work into NetBeans platform classes
2010/11/26 Martin Skurla <bujacik at gmail.com>:
> I was looking at source codes and what I found is following:
> 1. zip is supported because of native zip/jar support included in
> NetBeans platform
> 2. it supports currently only jar/zip, because of native java support
> for zip format (classes like ZipInputStream, ZipEntry, ...)
> 3. tar format simply packs more files into 1 file adding some metadata
> stored in 512kB store & gzip adds additional compression
> 4. java automatically supports gzip format too (GZIPInputStream,
> although it is more low level)
> => I think the patch adding tar.gzip will be quite easy to implement.
> Mathieu, am I right about upper notes?
> Does current support for jar/zip supports only one file in zip?
> Where should the patch be merged into?
> 2010/11/26 Sébastien Heymann <sebastien.heymann at gephi.org>:
>> The Gephi File Importer can handle ZIP files. I need to add the support of
>> TAR.GZ archives.
>> Could you point me some doc / where should I look at inside the source code?
>> gephi-dev mailing list
>> gephi-dev at lists.gephi.org
More information about the gephi-dev