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 | Static Attribute | Private | Type reference (TYPE) | XSTRING | CRC32 map | 20070711 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | T_EXTS | Extracts | 20070711 | |||
| 3 | Instance attribute | Public | Type reference (TYPE) | /TDAG/CPY_ZIP_FILE | CP: ABAP ZIP file structure type | 20070711 | |||
| 4 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_ZIP | Zip Utility | 20071210 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Adds a File to a Zip Folder | 20070711 | |
| 2 | Instance method | Public | Constructor | CONSTRUCTOR | 20070713 | |
| 3 | Static method | Public | Method | Calculate a CRC32 Value | 20070711 | |
| 4 | Instance method | Public | Method | Deletes a File in the Zip Folder | 20070711 | |
| 5 | Instance method | Public | Method | Reads a File from the Zip Folder | 20070711 | |
| 6 | Instance method | Public | Method | Loads a Zip File | 20070711 | |
| 7 | Instance method | Public | Method | Creates a Zip File | 20070711 | |
| 8 | 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 | CONTENT | Call by reference | Type reference (TYPE) | XSTRING | File contents | 20070711 | |||
| 2 | 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 | CONTENT | Call by reference | Type reference (TYPE) | XSTRING | File contents | 20070711 | |||
| 2 | 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 | INDEX | Value transfer | Type reference (TYPE) | I | 0 | Either Name or Index | 20070711 | ||
| 2 | NAME | Call by reference | Type reference (TYPE) | STRING | Name (Case-Sensitive) | 20070711 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Zip index error | 20070711 |
Method GET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONTENT | Call by reference | Type reference (TYPE) | XSTRING | Contents | 20070711 | |||
| 2 | INDEX | Value transfer | Type reference (TYPE) | I | 0 | Either Name or Index | 20070711 | ||
| 3 | NAME | Call by reference | Type reference (TYPE) | STRING | Name (Case-Sensitive) | 20070711 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Zip decompression error | 20070711 | ||
| 2 | Zip index error | 20070711 |
Method LOAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ZIP | Call by reference | Type reference (TYPE) | XSTRING | Zip file contents | 20070711 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Zip parse error | 20070711 |
Method SAVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | ENTRIES | Value transfer | Type reference (TYPE) | /TDAG/CPY_ZIP_SPLICE_ENTRY | CP: ABAP ZIP splice entry table type | 20070711 | |||
| 2 | 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 |