ASE2 CARD CATALOG ENTRY

Instructions:


ASSET OVERVIEW

UNIT NAME

UNZIP written in Ada95

VERSION
Sep 1999
REVIEW CODE
NR
INET ADDRESS
Gautier.deMontmollin@maths.unine.ch
AUTHOR
Gautier de Montmollin
RIGHTS
Approved for public release; distribution unlimited
COPYRIGHT
1999 Gautier de Montmollin
DATE CREATED
July 1999
DATE RELEASED
July 1999
DATE LAST UPDATED
September 1999
LOCATION
ASE
ENVIRONMENT
GNAT 3.1x
LIMITATIONS
None

CLASSIFICATION

KEYWORD
UNZIP in Ada95
ZIP in Ada95
INDEX
de Montmollin, Gautier
Gautier
DEPENDENCIES
GNAT 3.1x
SEE ALSO
SHORT DESCRIPTION
An UNZIP program (compatable with PKUNZIP) written in Ada95
TAXONOMY


Software Development Tools
    UNZIP in Ada95


Miscellaneous Tools
    UNZIP in Ada95


FILE LISTING

FILE SPECS
Click here to enter Asset Directory/transfer Asset File(s): ../../ase02_02/tools/unzipada
DIRECTORY DISPLAY
Follow path to see directory

ABSTRACT

UNZIP in Ada95


by Gautier de Montmollin

What is it ? UnZip-Ada is a decompression library for zipped files, i.e. files compressed by PKZIP (PKWARE Inc.) or a compatible file compressor. The full source is in Ada - pure Ada, not even a single OS-dependent or compiler-dependent package. Its "historical" origin is the C Info-Zip source, then a Pascal version. For details, read the file unzip.ads from the submission.

Why not just interface with C unzip code ? The idea is to have a pure Ada unzipping kernel, platform independent; no near-portable code with conditional defines. In addition it's very fun to code it in Ada. E.g. the generics allowed to half the original code in the Explode method. Exception handling is omnipresent and save lots of code: plenty of result variables in C / Pascal are saved, so, when a normal, non-corrupt archive is handled, the execution is much more straightforward.

Why not just call unzip / pkunzip ? This tool allows you to unzip data without resorting to making an OS-dependent external call.


REVISION HISTORY

September 1999 Gautier de Montmollin  Initial Release to the ASE Library

RELEASE NOTICE

This prologue must be included in all copies of this software.
Restrictions on use or distribution:  NONE

DISCLAIMER

	This software and its documentation are provided "AS IS" and
without any expressed or implied warranties whatsoever.  No warranties
as to performance, merchantability, or fitness for a particular
purpose exist.
	The user is advised to test the software thoroughly before
relying on it.  The user must assume the entire risk and liability of
using this software.  In no event shall any person or organization of
people be held responsible for any direct, indirect, consequential or
inconsequential damages or lost profits.

ASE CARD CATALOG ENTRY NAVIGATION

Powered by the Generic Web-Based Reuse Library (GWRL)