MetaTF API

MetaTF.Runtime
Interface LowLevelWriter

All Known Implementing Classes:
AsciiWriter

public interface LowLevelWriter

LowLevelWriter interface

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

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
 

Method Detail

write

public void write(long value)
           throws java.io.IOException
Write a long
Throws:
java.io.IOException - IF write fails

write

public void write(int value)
           throws java.io.IOException
Write an int
Throws:
java.io.IOException - IF write fails

write

public void write(java.lang.String value)
           throws java.io.IOException
Write a string, adding quotes
Throws:
java.io.IOException - IF write fails

write

public void write(char value)
           throws java.io.IOException
Write a char, such as special tags, etc.
Throws:
java.io.IOException - IF write fails

writeln

public void writeln()
             throws java.io.IOException
Write a new line. This is called to terminate the record
Throws:
java.io.IOException - IF write fails

writeln

public void writeln(java.lang.String s)
             throws java.io.IOException
Write a plain string (no quotes), terminated by a new line Only used to write comment records
Throws:
java.io.IOException - IF write fails

flush

public void flush()
Flush the output stream

close

public void close()
Close the output stream

MetaTF API

Copyright © 2001 - Richard Jones     MetaTF