org.mevenide.properties.writer
Class CarefulPropertiesWriter

java.lang.Object
  extended byorg.mevenide.properties.writer.CarefulPropertiesWriter
All Implemented Interfaces:
IPropertiesWriter

public class CarefulPropertiesWriter
extends java.lang.Object
implements IPropertiesWriter

Author:
Milos Kleint

Constructor Summary
CarefulPropertiesWriter()
          Creates a new instance of CarefulPropertiesWriter
 
Method Summary
 void marshall(java.io.OutputStream output, java.util.Properties props, java.io.InputStream currentContent)
          writes the properties to outputstream, considering the currentcontent if not null andthe implementation is capable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CarefulPropertiesWriter

public CarefulPropertiesWriter()
Creates a new instance of CarefulPropertiesWriter

Method Detail

marshall

public void marshall(java.io.OutputStream output,
                     java.util.Properties props,
                     java.io.InputStream currentContent)
              throws java.io.IOException
Description copied from interface: IPropertiesWriter
writes the properties to outputstream, considering the currentcontent if not null andthe implementation is capable.

Specified by:
marshall in interface IPropertiesWriter
Parameters:
props - properties to write.
Throws:
java.io.IOException - if anything goes wrong.


Copyright © 2003-2005 The Codehaus. All Rights Reserved.