SAP ABAP Class /UI5/CL_UI5_REP_UTILITY (SAPUI5 repository utility class)
Hierarchy
☛
SAP_UI (Software Component) User Interface Technology
⤷
CA-UI5-TOL (Application Component) SAP UI development toolkit for HTML5 - Design Time Tools
⤷
/UI5/UI5_INFRA_APP (Package) SAP UI5 Infrastructure for Applications
⤷
⤷
Properties
| Class | /UI5/CL_UI5_REP_UTILITY | |
| Short Description | SAPUI5 repository utility class | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /UI5/UI5_INFRA_APP | SAP UI5 Infrastructure for Applications |
| Created | 20120119 | SAP |
| Last change | 20141120 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 3 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class /UI5/CL_UI5_REP_UTILITY has no interface implemented.
Friends
Class /UI5/CL_UI5_REP_UTILITY 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) | STRING | 20140210 | ||||
| 2 | Static Attribute | Private | Type reference (TYPE) | STRING | CL_ABAP_CHAR_UTILITIES=>CR_LF | 20140210 | |||
| 3 | Constant | Public | Type reference (TYPE) | CHAR1 | 'B' | Internal target repository BSP | 20120126 | ||
| 4 | Constant | Public | Type reference (TYPE) | CHAR1 | 'M' | Internal target repository MIME | 20120126 | ||
| 5 | Constant | Public | Type reference (TYPE) | STRING | 'Deploy' | default deployment folder | 20140307 | ||
| 6 | Constant | Public | Type reference (TYPE) | STRING | ' ' | Escape for space | 20120123 | ||
| 7 | Constant | Public | Type reference (TYPE) | STRING | '/sap/bc/ui5_ui5/' | SICF node name for ui5 node | 20120119 | ||
| 8 | Constant | Public | Type reference (TYPE) | STRING | '.settings/org.eclipse.wst.common.component' | file containing the WebContent folder name | 20120119 | ||
| 9 | Constant | Public | Type reference (TYPE) | STRING | 'WebContent' | default WebContent folder | 20120119 | ||
| 10 | Constant | Public | Type reference (TYPE) | STRING | 'src/main/webapp' | Maven Style WebContent folder | 20130912 | ||
| 11 | Static Attribute | Private | Type reference (TYPE) | STRING | Valid chars for file/folder paths | 20120306 | |||
| 12 | Static Attribute | Private | Type reference (TYPE) | STRING | 20120127 | ||||
| 13 | Static Attribute | Private | Type reference (TYPE) | STRING | 20140210 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Check End-of-line markers | 20131119 | |
| 2 | Static method | Public | Method | Deprecated: Check if End-of-lines marker is CR+LF | 20120201 | |
| 3 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20120306 | |
| 4 | Static method | Public | Method | Code string in a code table | 20120124 | |
| 5 | Static method | Public | Method | Code table to code string | 20120124 | |
| 6 | Static method | Public | Method | Convert String to XString | 20120125 | |
| 7 | Static method | Public | Method | Convert XString to String | 20120125 | |
| 8 | Static method | Public | Method | Creates url from BSP url | 20121204 | |
| 9 | Static method | Public | Method | Converts Mac & unix Linefeeds to windows | 20140118 | |
| 10 | Static method | Public | Method | Determines internal repository (BSP-Page or MIME-Part) | 20120126 | |
| 11 | Static method | Public | Method | Ecapes an html string | 20140429 | |
| 12 | Static method | Public | Method | Check format of repository path | 20120119 | |
| 13 | Static method | Public | Method | Gets the default prop file path, laguage and country | 20130603 | |
| 14 | Static method | Public | Method | Get last segment of a repository path | 20120119 | |
| 15 | Static method | Public | Method | Get segments of a repository path | 20120119 | |
| 16 | Static method | Public | Method | Get folder name of resource root | 20120119 | |
| 17 | Static method | Public | Method | Checks whether provided path is a properties file | 20130527 | |
| 18 | Static method | Public | Method | Convert time stamp to string | 20131128 |
Events
Class /UI5/CL_UI5_REP_UTILITY has no event.
Types
Class /UI5/CL_UI5_REP_UTILITY has no local type.
Method Signatures
Method CHECK_EOL_MARKER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_CR_LF_ONLY_OR_NONE_FOUND | Call by reference | Type reference (TYPE) | ABAP_BOOL | Only CR+LF or no eol-delimiter found -> supported case | 20131119 | |||
| 2 | IV_STRING | Call by reference | Type reference (TYPE) | STRING | String to check | 20131119 |
Method CHECK_EOL_MARKER on class /UI5/CL_UI5_REP_UTILITY has no exception.
Method CHECK_EOL_MARKER_CR_LF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_CR_LF_FOUND | Call by reference | Type reference (TYPE) | ABAP_BOOL | CR-LF found | 20120201 | |||
| 2 | EV_MIXED_EOL_MARKER_FOUND | Call by reference | Type reference (TYPE) | ABAP_BOOL | Mixed EOL-marker found, e.g. CR-LF and LF | 20131119 | |||
| 3 | EV_NO_EOL_MARKER_FOUND | Call by reference | Type reference (TYPE) | ABAP_BOOL | No end-of-line marker found | 20120201 | |||
| 4 | IV_EOL_MARKER | Call by reference | Type reference (TYPE) | CHAR2 | CL_ABAP_CHAR_UTILITIES=>CR_LF | EOL marker to check against | 20120201 | ||
| 5 | IV_STRING | Call by reference | Type reference (TYPE) | STRING | String to check | 20120201 |
Method CHECK_EOL_MARKER_CR_LF on class /UI5/CL_UI5_REP_UTILITY has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class /UI5/CL_UI5_REP_UTILITY has no parameter.
Method CLASS_CONSTRUCTOR on class /UI5/CL_UI5_REP_UTILITY has no exception.
Method CODE_STRING_2_CODE_TAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_NEWLINE_CHARS | Call by reference | Type reference (TYPE) | CHAR2 | CL_ABAP_CHAR_UTILITIES=>CR_LF | Newline characters | 20120126 | ||
| 2 | IV_PATH | Call by reference | Type reference (TYPE) | STRING | Path | 20120131 | |||
| 3 | IV_SRC_STRING | Call by reference | Type reference (TYPE) | STRING | Source String | 20120124 | |||
| 4 | RESULT | Value transfer | Type reference (TYPE) | O2PAGELINE_TABLE | O2: Oxygen Page Table | 20120124 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for SAPUI5 Repository DT | 20120201 |
Method CODE_TAB_2_CODE_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_SRC_TAB | Value transfer | Type reference (TYPE) | O2PAGELINE_TABLE | O2: Oxygen Page Table | 20120124 | |||
| 2 | IV_NEWLINE_CHARS | Call by reference | Type reference (TYPE) | CHAR2 | CL_ABAP_CHAR_UTILITIES=>CR_LF | Newline characters | 20120126 | ||
| 3 | RESULT | Value transfer | Type reference (TYPE) | STRING | Source String | 20120124 |
Method CODE_TAB_2_CODE_STRING on class /UI5/CL_UI5_REP_UTILITY has no exception.
Method CONVERT_STRING_2_XSTRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CODE_PAGE | Call by reference | Type reference (TYPE) | STRING | 'UTF-8' | 20120125 | |||
| 2 | IV_STRING | Call by reference | Type reference (TYPE) | STRING | 20120125 | ||||
| 3 | RESULT | Value transfer | Type reference (TYPE) | XSTRING | 20120125 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for SAPUI5 Repository DT | 20120221 | ||
| 2 | System Exception Involving Conversion Errors | 20131105 |
Method CONVERT_XSTRING_2_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CODE_PAGE | Call by reference | Type reference (TYPE) | STRING | 'UTF-8' | 20120125 | |||
| 2 | IV_XSTRING | Call by reference | Type reference (TYPE) | XSTRING | 20120125 | ||||
| 3 | RESULT | Value transfer | Type reference (TYPE) | STRING | 20120125 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for SAPUI5 Repository DT | 20120221 |
Method CREATE_URL_FROM_BSP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_RUNTIME | Call by reference | Object reference (TYPE REF TO) | IF_BSP_RUNTIME | BSP runtime | 20121204 | |||
| 2 | IV_PATH | Call by reference | Type reference (TYPE) | STRING | path | 20121204 | |||
| 3 | IV_QUERY | Call by reference | Type reference (TYPE) | STRING | query string | 20121204 | |||
| 4 | RV_URL | Value transfer | Type reference (TYPE) | STRING | complete url | 20121204 |
Method CREATE_URL_FROM_BSP on class /UI5/CL_UI5_REP_UTILITY has no exception.
Method DETECT_EOL_MARKER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_STRING | Call by reference | Type reference (TYPE) | STRING | 20140118 | ||||
| 2 | RV_EOL | Value transfer | Type reference (TYPE) | STRING | 20140118 |
Method DETECT_EOL_MARKER on class /UI5/CL_UI5_REP_UTILITY has no exception.
Method DETERMINE_INTERNAL_REP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_IS_BINARY | Call by reference | Type reference (TYPE) | ABAP_BOOL | '-' | is binary indicator ('X' binary,' 'not binary, '-' unknown) | 20120126 | ||
| 2 | IV_MIME_TYPE | Call by reference | Type reference (TYPE) | CSEQUENCE | mime type | 20120126 | |||
| 3 | IV_PATH | Call by reference | Type reference (TYPE) | STRING | path inside the UI5 repository | 20120126 | |||
| 4 | RV_RESULT | Value transfer | Type reference (TYPE) | CHAR1 | Internal Target Repository (BSP-Pages or MIME-Part) | 20120126 |
Method DETERMINE_INTERNAL_REP on class /UI5/CL_UI5_REP_UTILITY has no exception.
Method ESCAPE_HTML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_VALUE | Call by reference | Type reference (TYPE) | STRING | unescaped string | 20140429 | |||
| 2 | RV_VALUE | Value transfer | Type reference (TYPE) | STRING | escaped string | 20140429 |
Method ESCAPE_HTML on class /UI5/CL_UI5_REP_UTILITY has no exception.
Method FORMAT_CHECK_REP_PATH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PATH | Call by reference | Type reference (TYPE) | STRING | 20120119 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for SAPUI5 Repository DT | 20120119 |
Method GET_FALLBACK_PATH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_FILE_PATH | Call by reference | Type reference (TYPE) | STRING | 20130603 | ||||
| 2 | RV_FALLBACK_PATH | Value transfer | Type reference (TYPE) | STRING | 20130603 |
Method GET_FALLBACK_PATH on class /UI5/CL_UI5_REP_UTILITY has no exception.
Method GET_LAST_SEG_FOR_REP_PATH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PATH | Call by reference | Type reference (TYPE) | STRING | 20120119 | ||||
| 2 | RESULT | Value transfer | Type reference (TYPE) | STRING | 20120119 |
Method GET_LAST_SEG_FOR_REP_PATH on class /UI5/CL_UI5_REP_UTILITY has no exception.
Method GET_SEGMENTS_OF_PATH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PATH | Value transfer | Type reference (TYPE) | STRING | 20120119 | ||||
| 2 | RESULT | Value transfer | Type reference (TYPE) | STRING_TABLE | Table of Strings | 20120119 |
Method GET_SEGMENTS_OF_PATH on class /UI5/CL_UI5_REP_UTILITY has no exception.
Method GET_WEBCONTENT_FOLDER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_API | Call by reference | Object reference (TYPE REF TO) | /UI5/IF_UI5_REP | Base interface for SAPUI5 Repository | 20121122 | |||
| 2 | IV_PATH | Call by reference | Type reference (TYPE) | STRING | path inside UI5 repository | 20120420 | |||
| 3 | IV_RESOURCE_ROOT | Call by reference | Type reference (TYPE) | STRING | /UI5/IF_UI5_REP=>RESOURCE_ROOT_UNDEFINED | Name of resource root: See /UI5/IF_UI5_REP | 20140304 | ||
| 4 | RV_RESULT | Value transfer | Type reference (TYPE) | STRING | 20120119 |
Method GET_WEBCONTENT_FOLDER on class /UI5/CL_UI5_REP_UTILITY has no exception.
Method IS_PROPERTIES_FILE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PATH | Call by reference | Type reference (TYPE) | STRING | path inside the UI5 repository | 20130527 | |||
| 2 | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20130527 |
Method IS_PROPERTIES_FILE on class /UI5/CL_UI5_REP_UTILITY has no exception.
Method TIMESTAMP_2_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_TIME_STAMP | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | 20131128 | |||
| 2 | RV_AS_STRING | Value transfer | Type reference (TYPE) | STRING | 20131128 |
Method TIMESTAMP_2_STRING on class /UI5/CL_UI5_REP_UTILITY has no exception.
History
| Last changed by/on | SAP | 20141120 |
| SAP Release Created in | 100 |