Maven module :un.storage : archive-core :
Class : un.storage.archive.Archives
Extends/Implements : -
Subclasses : -

Convenient methods for archive manipulation.
author  Johann Sorel


Variables : -
Functions : getFormats, open, open, extract, extract, recursiveExtract




Lists available archive formats.
return  array of ImageFormat, never null but can be empty.
public ArchiveFormat[] getFormats ()


Convenient method to obtain an archive path.
The method will loop on available formats until one can open the input.
param  path
return  Archive, never null
throws  IOException if not format could support the source.
public Archive open (Path path)


Convenient method to obtain an archive path.
The method will loop on available formats until one can open the input.
param  path
return  Archive, never null
throws  IOException if not format could support the source.
public Archive open (Path path, Dictionary parameters)

public void extract (Path archive, Path outFolder)

public void extract (Path archive, Path outFolder, Dictionary parameters)

public void recursiveExtract (Path source, Path target)