uk.me.nxg.xoxa.esis
Class StreamEsisWriter

java.lang.Object
  extended by uk.me.nxg.xoxa.esis.StreamEsisWriter
All Implemented Interfaces:
EsisWriter

public class StreamEsisWriter
extends Object
implements EsisWriter

Writes ESIS output to a stream, taking care of encodings and line separators


Constructor Summary
StreamEsisWriter(OutputStream stream)
           
 
Method Summary
 void close()
           
 EsisWriter print(char c)
           
 EsisWriter print(String s)
           
 EsisWriter println()
           
 EsisWriter println(char c)
           
 EsisWriter println(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamEsisWriter

public StreamEsisWriter(OutputStream stream)
Method Detail

print

public EsisWriter print(String s)
                 throws IOException
Specified by:
print in interface EsisWriter
Throws:
IOException

print

public EsisWriter print(char c)
                 throws IOException
Specified by:
print in interface EsisWriter
Throws:
IOException

println

public EsisWriter println()
                   throws IOException
Specified by:
println in interface EsisWriter
Throws:
IOException

println

public EsisWriter println(String s)
                   throws IOException
Specified by:
println in interface EsisWriter
Throws:
IOException

println

public EsisWriter println(char c)
                   throws IOException
Specified by:
println in interface EsisWriter
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface EsisWriter
Throws:
IOException


Copyright © 2015. All rights reserved.