com.deluan.jenkins.plugins.rtc.changelog
Class JazzChangeLogWriter

java.lang.Object
  extended by com.deluan.jenkins.plugins.rtc.changelog.JazzChangeLogWriter

public class JazzChangeLogWriter
extends Object

Author:
deluan

Constructor Summary
JazzChangeLogWriter()
           
 
Method Summary
protected  String escapeForXml(String string)
          Converts the input in the way that it can be written to the XML.
 void write(Collection<JazzChangeSet> changeSetList, File changelogFile)
           
protected  void write(Collection<JazzChangeSet> changeSetList, Writer output)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JazzChangeLogWriter

public JazzChangeLogWriter()
Method Detail

write

public void write(Collection<JazzChangeSet> changeSetList,
                  File changelogFile)
           throws IOException
Throws:
IOException

write

protected void write(Collection<JazzChangeSet> changeSetList,
                     Writer output)
              throws IOException
Throws:
IOException

escapeForXml

protected String escapeForXml(String string)
Converts the input in the way that it can be written to the XML. Special characters are converted to XML understandable way.

Parameters:
string - The string to be escaped.
Returns:
Escaped string that can be written to XML.


Copyright © 2004-2011. All Rights Reserved.