|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sap.mdm.examples.Settings
Creates default settings for the API examples and optionally reads user specific values from an InputStream.
| Constructor Summary | |
Settings()
The default constructor initializes the settings from the default properties and creates values for those settings for which only at runtime sensible default values are known. |
|
| Method Summary | |
static void |
main(String[] args)
Simple main method for testing purposes. |
void |
readSettings(InputStream in)
Optionally reads user specific settings from an InputStream. |
String |
toString()
Return settings in human-readable format. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Settings()
| Method Detail |
public void readSettings(InputStream in)
throws RuntimeException
InputStream.
in - InputStream to read the properties from
RuntimeException - in case Properties.load() throws an errorpublic String toString()
Object.toString()public static void main(String[] args)
args - are not supported
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright 2004-2007 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.
These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies (SAP Group) for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.