com.google.api.ads.adwords.lib.utils
Class ReportDefinitionWriter

java.lang.Object
  extended by com.google.api.ads.adwords.lib.utils.ReportDefinitionWriter

public class ReportDefinitionWriter
extends Object

Writes report definition XML to an output stream in the correct format.

Author:
Kevin Winter

Constructor Summary
ReportDefinitionWriter(String reportDefinitionXml)
          Constructs a ReportWriter for ReportDefinition objects.
 
Method Summary
 String getReportParameters()
          Returns the report parameters that would be written (intended for logging).
 void write(OutputStream outputStream)
          Writes parameters for this report download to the output stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportDefinitionWriter

public ReportDefinitionWriter(String reportDefinitionXml)
Constructs a ReportWriter for ReportDefinition objects.

Parameters:
reportDefinitionXml - XML of the ReportDefinition to write.
Method Detail

write

public void write(OutputStream outputStream)
           throws IOException
Writes parameters for this report download to the output stream.

Parameters:
outputStream - to write to.
Throws:
IOException - if there was a problem writing to the stream.

getReportParameters

public String getReportParameters()
Returns the report parameters that would be written (intended for logging).



Copyright © 2012. All Rights Reserved.