SAP ABAP Class CL_RSBPCF_ZIP (Zip Utility)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-PLA-BPC-INF (Application Component) BPC 'unified model' - Infrastructure
     RSBPCF (Package) BPC IP Extension: File Services
Properties
Class CL_RSBPCF_ZIP  
Short Description Zip Utility    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RSBPCF   BPC IP Extension: File Services 
Created 20130305   SAP 
Last change 20140121   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_RSBPCF_ZIP has no interface implemented.
Friends
Class CL_RSBPCF_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 20130305
2 EXTS Instance attribute Private Type reference (TYPE) T_EXTS 20130305
3 FILES Instance attribute Public Type reference (TYPE) T_FILES 20130305
4 SUPPORT_UNICODE_NAMES Instance attribute Public Type reference (TYPE) ABAP_BOOL ABAP_FALSE feature initialy disabled because of compatibility 20130305
Methods
# Method Level Visibility Method type Description Created on
1 ADD Instance method Public Method Adds a File to a Zip Folder 20130305
2 CRC32 Static method Public Method Calculate a CRC32 Value 20130305
3 DELETE Instance method Public Method Deletes a File in the Zip Folder 20130305
4 GET Instance method Public Method Reads a File from the Zip Folder 20130305
5 LOAD Instance method Public Method Loads a Zip File 20130305
6 SAVE Instance method Public Method Creates a Zip File 20130305
7 SPLICE Static method Public Method Loads and Splits a Zip File 20130305
Events
Class CL_RSBPCF_ZIP has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 T_EXT Private See coding 20130305 BEGIN OF T_EXT, 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 20130305 T_EXTS TYPE TABLE OF T_EXT
3 T_FILE Public See coding 20130305 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 20130305 T_FILES TYPE TABLE OF T_FILE
5 T_SPLICE_ENTRIES Public See coding 20130305 T_SPLICE_ENTRIES TYPE STANDARD TABLE OF T_SPLICE_ENTRY WITH DEFAULT KEY
6 T_SPLICE_ENTRY Public See coding 20130305 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 20130305
2 Importing NAME Call by reference Type reference (TYPE) STRING Name (Case-Sensitive) 20130305

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

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

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

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

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 20130305

Method SAVE on class CL_RSBPCF_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 Table of Strings 20130305
2 Importing ZIP Call by reference Type reference (TYPE) XSTRING 20130305

Method SPLICE on class CL_RSBPCF_ZIP has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 740