SAP ABAP Class CL_OPENXML_ZIP (OpenXML Zip -Faster hashed version of 21.04.2006 CL_ABAP_ZIP)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-I18 (Application Component) Internationalization (I18N)
⤷
S_OOXML_OPC (Package) OpenXML Packaging
⤷
⤷
Properties
| Class | CL_OPENXML_ZIP | |
| Short Description | OpenXML Zip -Faster hashed version of 21.04.2006 CL_ABAP_ZIP | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_OOXML_OPC | OpenXML Packaging |
| Created | 20071122 | SAP |
| Last change | 20090618 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_OPENXML_ZIP has no interface implemented.
Friends
Class CL_OPENXML_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 | 20071122 | ||||
| 2 | Instance attribute | Private | Type reference (TYPE) | T_EXTS | 20071122 | ||||
| 3 | Instance attribute | Public | Type reference (TYPE) | T_FILES | 20071122 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Adds a File to a Zip Folder | 20071122 | |
| 2 | Static method | Public | Method | Calculate a CRC32 Value | 20071122 | |
| 3 | Instance method | Public | Method | Deletes a File in the Zip Folder | 20071122 | |
| 4 | Instance method | Public | Method | Reads a File from the Zip Folder | 20071122 | |
| 5 | Instance method | Public | Method | Loads a Zip File | 20071122 | |
| 6 | Instance method | Public | Method | Creates a Zip File | 20071122 |
Events
Class CL_OPENXML_ZIP has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | T_EXT | Private | See coding | 20071122 | BEGIN OF T_EXT,
name TYPE string,
min_extract_version TYPE i,
gen_flags TYPE i,
compressed TYPE i,
compsize TYPE i,
crc32(4) TYPE x,
filename_len TYPE i,
filename TYPE xstring,
extra_len TYPE i,
extra TYPE xstring,
content TYPE xstring,
END OF T_EXT
|
||
| 2 | T_EXTS | Private | See coding | 20071122 | T_EXTS TYPE HASHED TABLE OF T_EXT WITH UNIQUE KEY name
|
||
| 3 | T_FILE | Public | See coding | 20071122 | BEGIN OF T_FILE,
name TYPE string,
date TYPE d,
time TYPE t,
size TYPE i,
END OF T_FILE
|
||
| 4 | T_FILES | Public | See coding | 20071122 | T_FILES TYPE HASHED TABLE OF T_FILE WITH UNIQUE KEY name
|
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) | XSEQUENCE | 20071122 | ||||
| 2 | NAME | Call by reference | Type reference (TYPE) | STRING | 20071122 |
Method ADD on class CL_OPENXML_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 | 20071122 | ||||
| 2 | CRC32 | Value transfer | Type reference (TYPE) | I | 20071122 |
Method CRC32 on class CL_OPENXML_ZIP has no exception.
Method DELETE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NAME | Call by reference | Type reference (TYPE) | STRING | 20071122 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20071122 |
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 | 20071122 | ||||
| 2 | NAME | Call by reference | Type reference (TYPE) | STRING | 20071122 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20071122 | |||
| 2 | 20071122 |
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 | 20071122 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20071122 |
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 | 20071122 |
Method SAVE on class CL_OPENXML_ZIP has no exception.
History
| Last changed by/on | SAP | 20090618 |
| SAP Release Created in | 711 |