com.sapportals.wcm.util.config

Class PropertiesFile

java.lang.Object
  extended by com.sapportals.wcm.util.config.PropertiesFile

public class PropertiesFile
extends Object

PropertiesFile is a helper class to read and write a properties file hirarchically. This class might be replaced by a visitor/builder patern on ConfigCollection. Copyright (c) SAP AG 2001-2002


Constructor Summary
PropertiesFile(String filename)
          Create a new PropertiesFile helper.
 
Method Summary
 String getFilename()
          Get the filename of the configfile.
 ConfigCollection read()
          Read the configuration file.
 void write(ConfigCollection root)
          Write a new configuration to the configuration file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesFile

public PropertiesFile(String filename)
Create a new PropertiesFile helper.

Parameters:
filename - The filename of the properties file.
Method Detail

getFilename

public String getFilename()
Get the filename of the configfile.

Returns:
The filename of the configfile

read

public ConfigCollection read()
Read the configuration file.

Returns:
TBD: Description of the outgoing return value

write

public void write(ConfigCollection root)
Write a new configuration to the configuration file.

Parameters:
root - TBD: Description of the incoming method parameter
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice