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 /UI5/IF_UI5_REP Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
2 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 CL_ABAP_CHAR_UTILITIES 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 CR Static Attribute Private Type reference (TYPE) STRING 20140210
2 CR_LF Static Attribute Private Type reference (TYPE) STRING CL_ABAP_CHAR_UTILITIES=>CR_LF 20140210
3 C_INTERNAL_TARGET_REP_BSP Constant Public Type reference (TYPE) CHAR1 'B' Internal target repository BSP 20120126
4 C_INTERNAL_TARGET_REP_MIME Constant Public Type reference (TYPE) CHAR1 'M' Internal target repository MIME 20120126
5 GC_DEPLOYMENT_DEFAULT Constant Public Type reference (TYPE) STRING 'Deploy' default deployment folder 20140307
6 GC_SPACE_ESCAPE Constant Public Type reference (TYPE) STRING ' ' Escape for space 20120123
7 GC_UI5_SICF_NODE_NAME Constant Public Type reference (TYPE) STRING '/sap/bc/ui5_ui5/' SICF node name for ui5 node 20120119
8 GC_WEBCONTENT_CONFIG_FILE Constant Public Type reference (TYPE) STRING '.settings/org.eclipse.wst.common.component' file containing the WebContent folder name 20120119
9 GC_WEBCONTENT_DEFAULT Constant Public Type reference (TYPE) STRING 'WebContent' default WebContent folder 20120119
10 GC_WEBCONTENT_MAVEN Constant Public Type reference (TYPE) STRING 'src/main/webapp' Maven Style WebContent folder 20130912
11 G_REP_FILE_FOLDER_VALID_CHARS Static Attribute Private Type reference (TYPE) STRING Valid chars for file/folder paths 20120306
12 G_TEMP Static Attribute Private Type reference (TYPE) STRING 20120127
13 LF Static Attribute Private Type reference (TYPE) STRING 20140210
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_EOL_MARKER Static method Public Method Check End-of-line markers 20131119
2 CHECK_EOL_MARKER_CR_LF Static method Public Method Deprecated: Check if End-of-lines marker is CR+LF 20120201
3 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20120306
4 CODE_STRING_2_CODE_TAB Static method Public Method Code string in a code table 20120124
5 CODE_TAB_2_CODE_STRING Static method Public Method Code table to code string 20120124
6 CONVERT_STRING_2_XSTRING Static method Public Method Convert String to XString 20120125
7 CONVERT_XSTRING_2_STRING Static method Public Method Convert XString to String 20120125
8 CREATE_URL_FROM_BSP Static method Public Method Creates url from BSP url 20121204
9 DETECT_EOL_MARKER Static method Public Method Converts Mac & unix Linefeeds to windows 20140118
10 DETERMINE_INTERNAL_REP Static method Public Method Determines internal repository (BSP-Page or MIME-Part) 20120126
11 ESCAPE_HTML Static method Public Method Ecapes an html string 20140429
12 FORMAT_CHECK_REP_PATH Static method Public Method Check format of repository path 20120119
13 GET_FALLBACK_PATH Static method Public Method Gets the default prop file path, laguage and country 20130603
14 GET_LAST_SEG_FOR_REP_PATH Static method Public Method Get last segment of a repository path 20120119
15 GET_SEGMENTS_OF_PATH Static method Public Method Get segments of a repository path 20120119
16 GET_WEBCONTENT_FOLDER Static method Public Method Get folder name of resource root 20120119
17 IS_PROPERTIES_FILE Static method Public Method Checks whether provided path is a properties file 20130527
18 TIMESTAMP_2_STRING 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 Exporting 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 Importing 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 Exporting EV_CR_LF_FOUND Call by reference Type reference (TYPE) ABAP_BOOL CR-LF found 20120201
2 Exporting 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 Exporting EV_NO_EOL_MARKER_FOUND Call by reference Type reference (TYPE) ABAP_BOOL No end-of-line marker found 20120201
4 Importing IV_EOL_MARKER Call by reference Type reference (TYPE) CHAR2 CL_ABAP_CHAR_UTILITIES=>CR_LF EOL marker to check against 20120201
5 Importing 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 Importing IV_NEWLINE_CHARS Call by reference Type reference (TYPE) CHAR2 CL_ABAP_CHAR_UTILITIES=>CR_LF Newline characters 20120126
2 Importing IV_PATH Call by reference Type reference (TYPE) STRING Path 20120131
3 Importing IV_SRC_STRING Call by reference Type reference (TYPE) STRING Source String 20120124
4 Returning RESULT Value transfer Type reference (TYPE) O2PAGELINE_TABLE O2: Oxygen Page Table 20120124
# Exception Resumable Description Created on
1 /UI5/CX_UI5_REP_DT 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 Importing IT_SRC_TAB Value transfer Type reference (TYPE) O2PAGELINE_TABLE O2: Oxygen Page Table 20120124
2 Importing IV_NEWLINE_CHARS Call by reference Type reference (TYPE) CHAR2 CL_ABAP_CHAR_UTILITIES=>CR_LF Newline characters 20120126
3 Returning 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 Importing IV_CODE_PAGE Call by reference Type reference (TYPE) STRING 'UTF-8' 20120125
2 Importing IV_STRING Call by reference Type reference (TYPE) STRING 20120125
3 Returning RESULT Value transfer Type reference (TYPE) XSTRING 20120125
# Exception Resumable Description Created on
1 /UI5/CX_UI5_REP_DT Exception class for SAPUI5 Repository DT 20120221
2 CX_SY_CONVERSION_ERROR 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 Importing IV_CODE_PAGE Call by reference Type reference (TYPE) STRING 'UTF-8' 20120125
2 Importing IV_XSTRING Call by reference Type reference (TYPE) XSTRING 20120125
3 Returning RESULT Value transfer Type reference (TYPE) STRING 20120125
# Exception Resumable Description Created on
1 /UI5/CX_UI5_REP_DT 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 Importing IO_RUNTIME Call by reference Object reference (TYPE REF TO) IF_BSP_RUNTIME BSP runtime 20121204
2 Importing IV_PATH Call by reference Type reference (TYPE) STRING path 20121204
3 Importing IV_QUERY Call by reference Type reference (TYPE) STRING query string 20121204
4 Returning 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 Importing IV_STRING Call by reference Type reference (TYPE) STRING 20140118
2 Returning 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 Importing IV_IS_BINARY Call by reference Type reference (TYPE) ABAP_BOOL '-' is binary indicator ('X' binary,' 'not binary, '-' unknown) 20120126
2 Importing IV_MIME_TYPE Call by reference Type reference (TYPE) CSEQUENCE mime type 20120126
3 Importing IV_PATH Call by reference Type reference (TYPE) STRING path inside the UI5 repository 20120126
4 Returning 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 Importing IV_VALUE Call by reference Type reference (TYPE) STRING unescaped string 20140429
2 Returning 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 Importing IV_PATH Call by reference Type reference (TYPE) STRING 20120119
# Exception Resumable Description Created on
1 /UI5/CX_UI5_REP_DT 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 Importing IV_FILE_PATH Call by reference Type reference (TYPE) STRING 20130603
2 Returning 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 Importing IV_PATH Call by reference Type reference (TYPE) STRING 20120119
2 Returning 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 Importing IV_PATH Value transfer Type reference (TYPE) STRING 20120119
2 Returning 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 Importing IO_API Call by reference Object reference (TYPE REF TO) /UI5/IF_UI5_REP Base interface for SAPUI5 Repository 20121122
2 Importing IV_PATH Call by reference Type reference (TYPE) STRING path inside UI5 repository 20120420
3 Importing 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 Returning 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 Importing IV_PATH Call by reference Type reference (TYPE) STRING path inside the UI5 repository 20130527
2 Returning 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 Importing IV_TIME_STAMP Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20131128
2 Returning 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