Logging | MI Services Javadoc

 

MI Services API

Overview

The MI Services API in com.sap.ip.me.api.services groups miscellaneous convenience API that applications can use:

Class / interface

Description
Date formatting
  • Converts dates and times to string formats compatible with the ABAP format.
  • You can also get the current date/time in ABAP format.
I/O utilities
  • offers static methods useful for I/O operations
    • file system operations (like copying files, deleting directories recursively, (de)serializing objects)
    • operations for accessing the internet (like http post/get and checking the connectivity status)
Logging
  • Tracing of info/error/debug information of different trace levels.
  • Should be used by EVERY application. The framework also makes extensive use of logging, esp. during synchronization and deployment
  • Trace file file can be sent to the WebAS on next for further inspection by the administrator.
MI resource bundle
  • For internationalization of Java Server Pages or AWT applications
  • Almost identical functionality as standard Java resource bundle, BUT the locale is taken from the MI user settings and not from the operating system.
Multi object file storage
  • Persistence service based on object serialization to files
  • Replaces the former class com.sapmarkets.wafJLib.FileOperation and should only be used by applications that used FileOperation in the past.
    All other applications should always use the Persistence API instead.
  • Class will be deprecated in the future
MI Exception
  • Base class of all MI exceptions.
  • Not relevant to applications