SAP ABAP Class CL_XLFT_UTIL (Various util methods)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DOC-TTL (Application Component) Translation Tools
⤷
SLXE_XLFT (Package) XLIFF 1.2 Translation
⤷
⤷
Properties
| Class | CL_XLFT_UTIL | |
| Short Description | Various util methods | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SLXE_XLFT | XLIFF 1.2 Translation |
| Created | 20101217 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_XLFT_UTIL has no forward declaration.
Interfaces
Class CL_XLFT_UTIL has no interface implemented.
Friends
Class CL_XLFT_UTIL 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) | C | 20110224 | ||||
| 2 | Static Attribute | Private | Type reference (TYPE) | STRING | 20110224 | ||||
| 3 | Static Attribute | Private | Type reference (TYPE) | STRING | 20120208 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20110224 | |
| 2 | Static method | Public | Method | Converts an integer to a hexadecimal string | 20120606 | |
| 3 | Static method | Public | Method | Converts an integer to a string | 20110103 | |
| 4 | Static method | Public | Method | Shortens a key by hashing it if necessary | 20101217 | |
| 5 | Static method | Public | Method | Converts a string to an integer | 20101222 | |
| 6 | Static method | Public | Method | Strips the XML root element from a string | 20120208 |
Events
Class CL_XLFT_UTIL has no event.
Types
Class CL_XLFT_UTIL has no local type.
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_XLFT_UTIL has no parameter.
Method CLASS_CONSTRUCTOR on class CL_XLFT_UTIL has no exception.
Method I_TO_HEXSTRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | HEX | Value transfer | Type reference (TYPE) | STRING | 20120606 | ||||
| 2 | I | Call by reference | Type reference (TYPE) | I | 20120606 | ||||
| 3 | MINLENGTH | Call by reference | Type reference (TYPE) | I | 1 | 20120606 |
Method I_TO_HEXSTRING on class CL_XLFT_UTIL has no exception.
Method I_TO_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I | Value transfer | Type reference (TYPE) | I | 20110103 | ||||
| 2 | STRING | Value transfer | Type reference (TYPE) | STRING | 20110103 |
Method I_TO_STRING on class CL_XLFT_UTIL has no exception.
Method SHORTEN_TEXTKEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | HASH | Value transfer | Type reference (TYPE) | XLFT_SHORTKEY | A "short" textkey (using only 26 characters instead of 32) | 20101217 | |||
| 2 | KEY | Call by reference | Type reference (TYPE) | STRING | 20101217 |
Method SHORTEN_TEXTKEY on class CL_XLFT_UTIL has no exception.
Method STRING_TO_I Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I | Value transfer | Type reference (TYPE) | I | 20101222 | ||||
| 2 | STRING | Call by reference | Type reference (TYPE) | STRING | 20101222 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | System Exception Converting to a Number | 20101222 |
Method STRIP_ROOT_ELEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RET | Value transfer | Type reference (TYPE) | STRING | 20120208 | ||||
| 2 | S | Call by reference | Type reference (TYPE) | STRING | 20120208 |
Method STRIP_ROOT_ELEM on class CL_XLFT_UTIL has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 731 |