SAP ABAP Class CL_CSI_ZIP (Zip Utility (basic support for ZIP64))
Hierarchy
SAP_BS_FND (Software Component) SAP Business Suite Foundation
   CA-EPT-RCC (Application Component) Remote Control and Communication Framework
     CSI_COMMON (Package) Common objects used in CSI
Properties
Class CL_CSI_ZIP  
Short Description Zip Utility (basic support for ZIP64)    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package CSI_COMMON   Common objects used in CSI 
Created 20110330   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 IHTTP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_CSI_ZIP has no interface implemented.
Friends
Class CL_CSI_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 20110330
2 EXTS Instance attribute Private Type reference (TYPE) T_EXTS 20110330
3 FILES Instance attribute Public Type reference (TYPE) T_FILES 20110330
4 SUPPORT_UNICODE_NAMES Instance attribute Public Type reference (TYPE) ABAP_BOOL ABAP_FALSE Feature initially disabled due to compatibility 20110330
5 ZIP64 Instance attribute Public Type reference (TYPE) ABAP_BOOL ABAP_FALSE Is the file in ZIP64 format 20110330
Methods
# Method Level Visibility Method type Description Created on
1 ADD Instance method Public Method Adds a File to a Zip Folder 20110330
2 CRC32 Static method Public Method Calculate a CRC32 Value 20110330
3 DELETE Instance method Public Method Deletes a File in the Zip Folder 20110330
4 GET Instance method Public Method Reads a File from the Zip Folder 20110330
5 LOAD Instance method Public Method Loads a Zip File 20110330
6 SAVE Instance method Public Method Creates a Zip File 20110330
7 SPLICE Static method Public Method Loads and Splits a Zip File 20110330
Events
Class CL_CSI_ZIP has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GTYV_INT64 Public Type reference (TYPE) ABAP_MSIZE 20110330
2 T_EXT Private See coding 20110330 BEGIN OF T_EXT, min_extract_version TYPE i, gen_flags TYPE i, compressed TYPE gtyv_int64, compsize TYPE gtyv_int64, 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
3 T_EXTS Private See coding 20110330 T_EXTS TYPE STANDARD TABLE OF T_EXT
4 T_FILE Public See coding 20110330 BEGIN OF T_FILE, name TYPE string, date TYPE d, time TYPE t, size TYPE gtyv_int64, END OF T_FILE
5 T_FILES Public See coding 20110330 T_FILES TYPE STANDARD TABLE OF T_FILE
6 T_SPLICE_ENTRIES Public See coding 20110330 T_SPLICE_ENTRIES TYPE STANDARD TABLE OF T_SPLICE_ENTRY WITH DEFAULT KEY
7 T_SPLICE_ENTRY Public See coding 20110330 BEGIN OF T_SPLICE_ENTRY, name TYPE string, offset TYPE i, length TYPE i, compressed TYPE i, END OF T_SPLICE_ENTRY
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) XSEQUENCE 20110330
2 Importing NAME Call by reference Type reference (TYPE) STRING Name (Case-Sensitive) 20110330

Method ADD on class CL_CSI_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 20110330
2 Returning CRC32 Value transfer Type reference (TYPE) I 20110330

Method CRC32 on class CL_CSI_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 20110330
2 Importing NAME Call by reference Type reference (TYPE) STRING Name (Case-Sensitive) 20110330
# Exception Resumable Description Created on
1 ZIP_INDEX_ERROR 20110330

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 20110330
2 Importing INDEX Value transfer Type reference (TYPE) I 0 Either Name or Index 20110330
3 Importing NAME Call by reference Type reference (TYPE) STRING Name (Case-Sensitive) 20110330
# Exception Resumable Description Created on
1 ZIP_DECOMPRESSION_ERROR 20110330
2 ZIP_INDEX_ERROR 20110330

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 20110330
# Exception Resumable Description Created on
1 ZIP_PARSE_ERROR 20110330

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 20110330

Method SAVE on class CL_CSI_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) T_SPLICE_ENTRIES 20110330
2 Importing ZIP Call by reference Type reference (TYPE) XSTRING 20110330

Method SPLICE on class CL_CSI_ZIP has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 731