net.sf.ofx4j.io
Interface OFXWriter

All Known Implementing Classes:
OFXV1Writer, OFXV2Writer

public interface OFXWriter

Author:
Ryan Heaton

Method Summary
 void close()
          Close this OFX writer.
 void writeElement(java.lang.String name, java.lang.String value)
          Write an element to the current aggregate.
 void writeEndAggregate(java.lang.String aggregateName)
          Write the end of an aggregate.
 void writeHeaders(java.util.Map<java.lang.String,java.lang.String> headers)
          Write the specified headers.
 void writeStartAggregate(java.lang.String aggregateName)
          Write the start of a new aggregate.
 

Method Detail

writeHeaders

void writeHeaders(java.util.Map<java.lang.String,java.lang.String> headers)
                  throws java.io.IOException
Write the specified headers.

Parameters:
headers - The headers to be written.
Throws:
java.io.IOException

writeStartAggregate

void writeStartAggregate(java.lang.String aggregateName)
                         throws java.io.IOException
Write the start of a new aggregate.

Parameters:
aggregateName - The aggregate name.
Throws:
java.io.IOException

writeElement

void writeElement(java.lang.String name,
                  java.lang.String value)
                  throws java.io.IOException
Write an element to the current aggregate.

Parameters:
name - The name of the element.
value - The value of the element.
Throws:
java.io.IOException

writeEndAggregate

void writeEndAggregate(java.lang.String aggregateName)
                       throws java.io.IOException
Write the end of an aggregate.

Parameters:
aggregateName - The aggregate name.
Throws:
java.lang.IllegalArgumentException - If the specified aggregate hasn't been started.
java.io.IOException

close

void close()
           throws java.io.IOException
Close this OFX writer.

Throws:
java.io.IOException


Copyright © 2008. All Rights Reserved.