MetaTF API

MetaTF.Runtime
Class AsciiWriter

java.lang.Object
  |
  +--MetaTF.Runtime.AsciiWriter
All Implemented Interfaces:
LowLevelWriter

public class AsciiWriter
extends java.lang.Object
implements LowLevelWriter

AsciiWriter implements LowLevelWriter

Version:
rel-1-2 ($Revision: 1.1 $, $Date: 2000/12/15 16:35:32 $),
Author:
Richard Jones

Constructor Summary
AsciiWriter(java.io.OutputStream os)
           
 
Method Summary
 void close()
          Close the output stream
 void flush()
          Flush the output stream
 void write(char value)
          Write a char, such as special tags, etc.
 void write(int value)
          Write an int
 void write(long value)
          Write a long
 void write(java.lang.String value)
          Write a string, adding quotes
 void writeln()
          Write a new line.
 void writeln(java.lang.String s)
          Write a plain string (no quotes), terminated by a new line Only used to write comment records
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsciiWriter

public AsciiWriter(java.io.OutputStream os)
Method Detail

write

public void write(long value)
           throws java.io.IOException
Description copied from interface: LowLevelWriter
Write a long
Specified by:
write in interface LowLevelWriter
Following copied from interface: MetaTF.Runtime.LowLevelWriter
Throws:
java.io.IOException - IF write fails

write

public void write(int value)
           throws java.io.IOException
Description copied from interface: LowLevelWriter
Write an int
Specified by:
write in interface LowLevelWriter
Following copied from interface: MetaTF.Runtime.LowLevelWriter
Throws:
java.io.IOException - IF write fails

write

public void write(char value)
           throws java.io.IOException
Description copied from interface: LowLevelWriter
Write a char, such as special tags, etc.
Specified by:
write in interface LowLevelWriter
Following copied from interface: MetaTF.Runtime.LowLevelWriter
Throws:
java.io.IOException - IF write fails

write

public void write(java.lang.String value)
           throws java.io.IOException
Description copied from interface: LowLevelWriter
Write a string, adding quotes
Specified by:
write in interface LowLevelWriter
Following copied from interface: MetaTF.Runtime.LowLevelWriter
Throws:
java.io.IOException - IF write fails

writeln

public void writeln(java.lang.String s)
Description copied from interface: LowLevelWriter
Write a plain string (no quotes), terminated by a new line Only used to write comment records
Specified by:
writeln in interface LowLevelWriter
Following copied from interface: MetaTF.Runtime.LowLevelWriter
Throws:
java.io.IOException - IF write fails

writeln

public void writeln()
             throws java.io.IOException
Description copied from interface: LowLevelWriter
Write a new line. This is called to terminate the record
Specified by:
writeln in interface LowLevelWriter
Following copied from interface: MetaTF.Runtime.LowLevelWriter
Throws:
java.io.IOException - IF write fails

close

public void close()
Description copied from interface: LowLevelWriter
Close the output stream
Specified by:
close in interface LowLevelWriter

flush

public void flush()
Description copied from interface: LowLevelWriter
Flush the output stream
Specified by:
flush in interface LowLevelWriter

MetaTF API

Copyright © 2001 - Richard Jones     MetaTF