SAP ABAP Class CNV_00001_TEXT_PACKER (Text packer)
Hierarchy
☛
DMIS (Software Component) DMIS 2011_1
⤷
CA-GTF-BS (Application Component) Business Application Support
⤷
CNV_BASIS (Package) Conversion: Basis functions

⤷

⤷

Properties
Class | CNV_00001_TEXT_PACKER | |
Short Description | Text packer | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | CNV_BASIS | Conversion: Basis functions |
Created | 20100216 | SAP |
Last change | 20141030 | |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CNV_00001_TEXT_PACKER has no forward declaration.
Interfaces
Class CNV_00001_TEXT_PACKER has no interface implemented.
Friends
Class CNV_00001_TEXT_PACKER has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Protected | Type reference (TYPE) | CHAR64 | '!"#$%&''()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTU' | Character field, length 64 | 20100216 | |
2 | ![]() |
Constant | Protected | Type reference (TYPE) | CHAR64 | 'VWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~' | Character field, length 64 | 20100216 | |
3 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | CHAR128 | 128 character | 20100216 | ||
4 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | TY_HT_ALPHABET | Alphabet map | 20100216 | ||
5 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | TY_HT_RALPHABET | Alphabet reverse map | 20100216 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Protected | Method | Checks whether all characters belong to the alphabet | 20100510 |
2 | ![]() |
Static method | Public | Constructor | Initializes static variables | 20100216 |
3 | ![]() |
Static method | Public | Method | Returns compressed string | 20100216 |
4 | ![]() |
Static method | Public | Method | Returns decompressed string | 20100216 |
5 | ![]() |
Static method | Protected | Method | Returns code from alphabet | 20100216 |
6 | ![]() |
Static method | Protected | Method | Returns index of a code | 20100216 |
7 | ![]() |
Static method | Protected | Method | Analyzes the input string and returns stop character | 20100216 |
8 | ![]() |
Static method | Protected | Method | Initializes alphabet | 20100216 |
9 | ![]() |
Static method | Protected | Method | Postprocesses the output string | 20100216 |
10 | ![]() |
Static method | Protected | Method | Preprocesses the input string | 20100216 |
11 | ![]() |
Static method | Public | Method | Converts the string to a table | 20100216 |
12 | ![]() |
Static method | Public | Method | Converts the table to a string | 20100216 |
Events
Class CNV_00001_TEXT_PACKER has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TY_ALPHABET | Protected | See coding | TY_ALPHABET | 20100216 | |
|
2 | TY_CHAR1 | Protected | See coding | TY_CHAR1 | 20100216 | |
|
3 | TY_DICT | Protected | See coding | TY_DICT | 20100216 | |
|
4 | TY_HT_ALPHABET | Protected | See coding | TY_HT_ALPHABET | 20100216 | |
|
5 | TY_HT_DICT | Protected | See coding | TY_HT_DICT | 20100216 | |
|
6 | TY_HT_RALPHABET | Protected | See coding | TY_HT_RALPHABET | 20100216 | |
|
7 | TY_LONGCHAR | Protected | See coding | TY_LONGCHAR | 20100216 | |
|
8 | TY_T_DICT | Protected | See coding | TY_T_DICT | 20100216 | |
Method Signatures
Method CHECK_ALPHABET Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
STRING | Call by reference | Type reference (TYPE) | STRING | text | 20100510 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
There were some not allowed characters | 20100510 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CNV_00001_TEXT_PACKER has no parameter.
Method CLASS_CONSTRUCTOR on class CNV_00001_TEXT_PACKER has no exception.
Method COMPRESS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IN | Call by reference | Type reference (TYPE) | STRING | input string (uncompressed) | 20100216 | ||
2 | ![]() |
OUT | Call by reference | Type reference (TYPE) | STRING | output string (compressed) | 20100216 | ||
3 | ![]() |
TABLE_IN | Call by reference | Type reference (TYPE) | TABLE | Table to compress | 20100216 | ||
4 | ![]() |
TABLE_IN_LINE_LENGTH | Call by reference | Type reference (TYPE) | INT4 | 0 | Line length of input table | 20100408 | |
5 | ![]() |
TABLE_OUT | Call by reference | Type reference (TYPE) | TABLE | Compressed table | 20100216 | ||
6 | ![]() |
TABLE_OUT_LINE_LENGTH | Call by reference | Type reference (TYPE) | INT4 | Line length of output table | 20100216 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Data could not be compressed | 20100216 |
Method DECOMPRESS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IN | Call by reference | Type reference (TYPE) | STRING | Input (compressed string) | 20100216 | ||
2 | ![]() |
OUT | Call by reference | Type reference (TYPE) | STRING | Output (decompressed string) | 20100216 | ||
3 | ![]() |
TABLE_IN | Call by reference | Type reference (TYPE) | TABLE | Table to decompress | 20100216 | ||
4 | ![]() |
TABLE_IN_LINE_LENGTH | Call by reference | Type reference (TYPE) | INT4 | 0 | Line length of input table | 20100408 | |
5 | ![]() |
TABLE_OUT | Call by reference | Type reference (TYPE) | TABLE | Decompressed table | 20100216 | ||
6 | ![]() |
TABLE_OUT_LINE_LENGTH | Call by reference | Type reference (TYPE) | INT4 | Line length of output table | 20100216 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Invalid input format | 20100510 |
Method GET_CODE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CODE | Value transfer | Type reference (TYPE) | STRING | Code | 20100216 | ||
2 | ![]() |
INDEX | Call by reference | Type reference (TYPE) | INT4 | Natural number | 20100216 |
Method GET_CODE on class CNV_00001_TEXT_PACKER has no exception.
Method GET_INDEX Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CODE | Call by reference | Type reference (TYPE) | STRING | code | 20100216 | ||
2 | ![]() |
INDEX | Value transfer | Type reference (TYPE) | INT4 | index | 20100216 |
Method GET_INDEX on class CNV_00001_TEXT_PACKER has no exception.
Method GET_STOP_CHARACTER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IN | Call by reference | Type reference (TYPE) | STRING | Input value | 20100216 | ||
2 | ![]() |
STOP | Value transfer | Type reference (TYPE) | CHAR1 | Single-character flag | 20100216 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
No stop character available | 20100216 |
Method INIT_ALPHABET Signature
Method INIT_ALPHABET on class CNV_00001_TEXT_PACKER has no parameter.
Method INIT_ALPHABET on class CNV_00001_TEXT_PACKER has no exception.
Method POSTPROCESS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IN | Call by reference | Type reference (TYPE) | STRING | Output string | 20100216 | ||
2 | ![]() |
OUT | Call by reference | Type reference (TYPE) | STRING | Preprocessed output strng | 20100216 | ||
3 | ![]() |
STOP | Call by reference | Type reference (TYPE) | CHAR1 | Stop character | 20100216 |
Method POSTPROCESS on class CNV_00001_TEXT_PACKER has no exception.
Method PREPROCESS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IN | Call by reference | Type reference (TYPE) | STRING | Input string | 20100216 | ||
2 | ![]() |
OUT | Call by reference | Type reference (TYPE) | STRING | Preprocessed input strng | 20100216 | ||
3 | ![]() |
STOP | Call by reference | Type reference (TYPE) | CHAR1 | Stop character | 20100216 |
Method PREPROCESS on class CNV_00001_TEXT_PACKER has no exception.
Method STRING_TO_TABLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
LINE_LENGTH | Call by reference | Type reference (TYPE) | INT4 | Length of table line in characters | 20100216 | ||
2 | ![]() |
STRING | Call by reference | Type reference (TYPE) | STRING | string | 20100216 | ||
3 | ![]() |
TABLE | Call by reference | Type reference (TYPE) | TABLE | Table | 20100216 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Type of the line of the table is neither string nor char | 20100216 |
Method TABLE_TO_STRING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
STRING | Call by reference | Type reference (TYPE) | STRING | string | 20100216 | ||
2 | ![]() |
TABLE | Call by reference | Type reference (TYPE) | TABLE | Table | 20100216 | ||
3 | ![]() |
TABLE_LENGTH | Call by reference | Type reference (TYPE) | INT4 | 0 | Line length | 20100408 |
Method TABLE_TO_STRING on class CNV_00001_TEXT_PACKER has no exception.
History
Last changed by/on | SAP | 20141030 |
SAP Release Created in | 2006_1_46C |