SAP ABAP Class CL_SWDCL_DOCUMENT_UTILS (Utilities for Files)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-RM (Application Component) SAP Records Management
⤷
SWEBDAV_CLIENT (Package) WebDAV Client
⤷
⤷
Properties
| Class | CL_SWDCL_DOCUMENT_UTILS | |
| Short Description | Utilities for Files | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SWEBDAV_CLIENT | WebDAV Client |
| Created | 20030516 | SAP |
| Last change | 20040518 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_SWDCL_DOCUMENT_UTILS has no interface implemented.
Friends
Class CL_SWDCL_DOCUMENT_UTILS has no friend class.
Attributes
Class CL_SWDCL_DOCUMENT_UTILS has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Generate File URL | 20030516 | |
| 2 | Static method | Public | Method | Generate URL | 20030516 | |
| 3 | Static method | Public | Method | File Without Extension and Path | 20030516 | |
| 4 | Static method | Public | Method | File Extension | 20030516 | |
| 5 | Static method | Public | Method | File Without Path | 20030516 | |
| 6 | Static method | Public | Method | Determine SAP Icon for MIME Type | 20030516 | |
| 7 | Static method | Public | Method | Determine MIME Type for File | 20030516 | |
| 8 | Static method | Public | Method | Path Name Without File | 20030516 | |
| 9 | Static method | Private | Method | Split File Name in File and Extension | 20030516 | |
| 10 | Static method | Private | Method | Split File Path in Path and File | 20030516 |
Events
Class CL_SWDCL_DOCUMENT_UTILS has no event.
Types
Class CL_SWDCL_DOCUMENT_UTILS has no local type.
Method Signatures
Method BUILD_FILE_URL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_URL | Call by reference | Type reference (TYPE) | STRING | URL | 20030516 |
Method BUILD_FILE_URL on class CL_SWDCL_DOCUMENT_UTILS has no exception.
Method CREATE_URL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_FILE | Call by reference | Type reference (TYPE) | STRING | Datei | 20030516 | |||
| 2 | I_PATH | Call by reference | Type reference (TYPE) | STRING | Pfad | 20030516 | |||
| 3 | R_URL | Value transfer | Type reference (TYPE) | STRING | URL | 20030516 |
Method CREATE_URL on class CL_SWDCL_DOCUMENT_UTILS has no exception.
Method GET_BASENAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_FILENAME | Call by reference | Type reference (TYPE) | STRING | Dateiname | 20030516 | |||
| 2 | R_BASENAME | Value transfer | Type reference (TYPE) | STRING | Basname ohne Extension | 20030516 |
Method GET_BASENAME on class CL_SWDCL_DOCUMENT_UTILS has no exception.
Method GET_EXTENSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_FILENAME | Call by reference | Type reference (TYPE) | STRING | Dateiname | 20030516 | |||
| 2 | R_EXTENSION | Value transfer | Type reference (TYPE) | STRING | Filenamenserweiterung | 20030516 |
Method GET_EXTENSION on class CL_SWDCL_DOCUMENT_UTILS has no exception.
Method GET_FILENAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_FILENAME | Call by reference | Type reference (TYPE) | STRING | Dateiname | 20030516 | |||
| 2 | R_FILENAME | Value transfer | Type reference (TYPE) | STRING | Dateiname | 20030516 |
Method GET_FILENAME on class CL_SWDCL_DOCUMENT_UTILS has no exception.
Method GET_ICON_FOR_MIME_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_MIME_TYPE | Value transfer | Type reference (TYPE) | STRING | 20030516 | ||||
| 2 | I_URL | Call by reference | Type reference (TYPE) | STRING | 20030516 | ||||
| 3 | R_ICON | Value transfer | Type reference (TYPE) | STRING | 20030516 |
Method GET_ICON_FOR_MIME_TYPE on class CL_SWDCL_DOCUMENT_UTILS has no exception.
Method GET_MIMETYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_FILENAME | Call by reference | Type reference (TYPE) | STRING | Dateiname | 20030516 | |||
| 2 | R_MIMETYPE | Value transfer | Type reference (TYPE) | STRING | HTML-Content-Type | 20030516 |
Method GET_MIMETYPE on class CL_SWDCL_DOCUMENT_UTILS has no exception.
Method GET_PATHNAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_FILENAME | Call by reference | Type reference (TYPE) | STRING | Dateiname | 20030516 | |||
| 2 | R_PATHNAME | Value transfer | Type reference (TYPE) | STRING | Pfadname | 20030516 |
Method GET_PATHNAME on class CL_SWDCL_DOCUMENT_UTILS has no exception.
Method SPLIT_FILE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_EXTENSION | Value transfer | Type reference (TYPE) | STRING | Dateiextension | 20030516 | |||
| 2 | E_FILE | Call by reference | Type reference (TYPE) | STRING | Dateiname | 20030516 | |||
| 3 | I_FILE | Call by reference | Type reference (TYPE) | STRING | Dateiname | 20030516 |
Method SPLIT_FILE on class CL_SWDCL_DOCUMENT_UTILS has no exception.
Method SPLIT_PATH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_FILE | Call by reference | Type reference (TYPE) | STRING | Dateiname | 20030516 | |||
| 2 | E_PATH | Call by reference | Type reference (TYPE) | STRING | Pfadname | 20030516 | |||
| 3 | I_PATH | Value transfer | Type reference (TYPE) | STRING | Absoluter Dateiname | 20030516 |
Method SPLIT_PATH on class CL_SWDCL_DOCUMENT_UTILS has no exception.
History
| Last changed by/on | SAP | 20040518 |
| SAP Release Created in | 640 |