SAP ABAP Class /TDAG/CPCL_ZIP (CP: Zip utility)
Hierarchy
TDAGBCA (Software Component) TechniData Basic Components
   EHS (Application Component) Environment, Health and Safety
     /TDAG/CP_OF (Package) CP: Overall functions and features
Properties
Class /TDAG/CPCL_ZIP  
Short Description CP: Zip utility    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /TDAG/CP_OF   CP: Overall functions and features 
Created 20070711   SAP 
Last change 20141109   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class /TDAG/CPCL_ZIP has no forward declaration.
Interfaces
Class /TDAG/CPCL_ZIP has no interface implemented.
Friends
Class /TDAG/CPCL_ZIP has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CRC32_MAP Static Attribute Private Type reference (TYPE) XSTRING CRC32 map 20070711
2 EXTS Instance attribute Private Type reference (TYPE) T_EXTS Extracts 20070711
3 FILES Instance attribute Public Type reference (TYPE) /TDAG/CPY_ZIP_FILE CP: ABAP ZIP file structure type 20070711
4 MO_ZIP Instance attribute Private Object reference (TYPE REF TO) CL_ABAP_ZIP Zip Utility 20071210
Methods
# Method Level Visibility Method type Description Created on
1 ADD Instance method Public Method Adds a File to a Zip Folder 20070711
2 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20070713
3 CRC32 Static method Public Method Calculate a CRC32 Value 20070711
4 DELETE Instance method Public Method Deletes a File in the Zip Folder 20070711
5 GET Instance method Public Method Reads a File from the Zip Folder 20070711
6 LOAD Instance method Public Method Loads a Zip File 20070711
7 SAVE Instance method Public Method Creates a Zip File 20070711
8 SPLICE Static method Public Method Loads and Splits a Zip File 20070711
Events
Class /TDAG/CPCL_ZIP has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 T_EXT Private See coding 20070711
2 T_EXTS Private See coding 20070711
Method Signatures

Method ADD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CONTENT Call by reference Type reference (TYPE) XSTRING File contents 20070711
2 Importing NAME Call by reference Type reference (TYPE) STRING Name (Case-Sensitive) 20070711

Method ADD on class /TDAG/CPCL_ZIP has no exception.

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class /TDAG/CPCL_ZIP has no parameter.
Method CONSTRUCTOR on class /TDAG/CPCL_ZIP has no exception.

Method CRC32 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CONTENT Call by reference Type reference (TYPE) XSTRING File contents 20070711
2 Returning CRC32 Value transfer Type reference (TYPE) I Checksum 20070711

Method CRC32 on class /TDAG/CPCL_ZIP has no exception.

Method DELETE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing INDEX Value transfer Type reference (TYPE) I 0 Either Name or Index 20070711
2 Importing NAME Call by reference Type reference (TYPE) STRING Name (Case-Sensitive) 20070711
# Exception Resumable Description Created on
1 ZIP_INDEX_ERROR Zip index error 20070711

Method GET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting CONTENT Call by reference Type reference (TYPE) XSTRING Contents 20070711
2 Importing INDEX Value transfer Type reference (TYPE) I 0 Either Name or Index 20070711
3 Importing NAME Call by reference Type reference (TYPE) STRING Name (Case-Sensitive) 20070711
# Exception Resumable Description Created on
1 ZIP_DECOMPRESSION_ERROR Zip decompression error 20070711
2 ZIP_INDEX_ERROR Zip index error 20070711

Method LOAD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ZIP Call by reference Type reference (TYPE) XSTRING Zip file contents 20070711
# Exception Resumable Description Created on
1 ZIP_PARSE_ERROR Zip parse error 20070711

Method SAVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ZIP Value transfer Type reference (TYPE) XSTRING Zip file contents 20070711

Method SAVE on class /TDAG/CPCL_ZIP has no exception.

Method SPLICE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ENTRIES Value transfer Type reference (TYPE) /TDAG/CPY_ZIP_SPLICE_ENTRY CP: ABAP ZIP splice entry table type 20070711
2 Importing ZIP Call by reference Type reference (TYPE) XSTRING Zip file contents 20070711

Method SPLICE on class /TDAG/CPCL_ZIP has no exception.
History
Last changed by/on SAP  20141109 
SAP Release Created in 222_46C