SAP ABAP Class CL_ESH_BINARY_MIME_TYPE_TOOL (Mime Type check and file determination)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-EIM-ESH (Application Component) NetWeaver Enterprise Search
⤷
S_ESH_ENG_TOOLS (Package) Tools for BOS
⤷
⤷
Properties
| Class | CL_ESH_BINARY_MIME_TYPE_TOOL | |
| Short Description | Mime Type check and file determination | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_ESH_ENG_TOOLS | Tools for BOS |
| Created | 20091027 | SAP |
| Last change | 20110908 | 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) |
Interfaces
Class CL_ESH_BINARY_MIME_TYPE_TOOL has no interface implemented.
Friends
Class CL_ESH_BINARY_MIME_TYPE_TOOL has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | See coding | 20091027 | |||||
| 2 | Static Attribute | Private | See coding | 20091027 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20091027 | |
| 2 | Static method | Private | Method | Initialize file extensions and their MIME types | 20091027 | |
| 3 | Static method | Private | Method | Initialize MIME types | 20091027 | |
| 4 | Static method | Public | Method | Determine MIME type of file name | 20091027 | |
| 5 | Static method | Public | Method | Is MIME type supported | 20091027 |
Events
Class CL_ESH_BINARY_MIME_TYPE_TOOL has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | YESH_S_FILE_EXTENSION | Private | See coding | 20091027 | |
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_ESH_BINARY_MIME_TYPE_TOOL has no parameter.
Method CLASS_CONSTRUCTOR on class CL_ESH_BINARY_MIME_TYPE_TOOL has no exception.
Method INITIALIZE_FILE_EXTENSIONS Signature
Method INITIALIZE_FILE_EXTENSIONS on class CL_ESH_BINARY_MIME_TYPE_TOOL has no parameter.
Method INITIALIZE_FILE_EXTENSIONS on class CL_ESH_BINARY_MIME_TYPE_TOOL has no exception.
Method INITIALIZE_MIME_TYPES Signature
Method INITIALIZE_MIME_TYPES on class CL_ESH_BINARY_MIME_TYPE_TOOL has no parameter.
Method INITIALIZE_MIME_TYPES on class CL_ESH_BINARY_MIME_TYPE_TOOL has no exception.
Method MIME_TYPE_FROM_FILE_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_MIME_TYPE | Call by reference | Type reference (TYPE) | ESH_E_DPS_MIME_TYPE | Help Center Suche: Federated Search - MIME Type | 20091027 | |||
| 2 | IV_FILE_NAME | Call by reference | Type reference (TYPE) | STRING | Dateiname | 20091027 |
Method MIME_TYPE_FROM_FILE_NAME on class CL_ESH_BINARY_MIME_TYPE_TOOL has no exception.
Method MIME_TYPE_SUPPORTED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_IS_SUPPORTED | Call by reference | Type reference (TYPE) | ABAP_BOOL | Existiert MIME Type? | 20091028 | |||
| 2 | IV_MIME_TYPE | Call by reference | Type reference (TYPE) | ESH_E_DPS_MIME_TYPE | Help Center Suche: Federated Search - MIME Type | 20091027 |
Method MIME_TYPE_SUPPORTED on class CL_ESH_BINARY_MIME_TYPE_TOOL has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 730 |