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

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

public class JazzChangeLogWriter
extends java.lang.Object

Author:
deluan

Constructor Summary
JazzChangeLogWriter()
           
 
Method Summary
protected  java.lang.String escapeForXml(java.lang.String string)
          Converts the input in the way that it can be written to the XML.
 void write(java.util.Collection<JazzChangeSet> changeSetList, java.io.File changelogFile)
           
protected  void write(java.util.Collection<JazzChangeSet> changeSetList, java.io.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(java.util.Collection<JazzChangeSet> changeSetList,
                  java.io.File changelogFile)
           throws java.io.IOException
Throws:
java.io.IOException

write

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

escapeForXml

protected java.lang.String escapeForXml(java.lang.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.