JML

java.io
Class Writer

java.lang.Object
  extended byjava.io.Writer
All Implemented Interfaces:
Appendable, Closeable, Flushable
Direct Known Subclasses:
OutputStreamWriter, PrintWriter

public abstract class Writer
extends Object
implements Appendable, Closeable, Flushable


Field Summary
protected  Object lock
           
private  char[] writeBuffer
           
private  int writeBufferSize
           
 
Constructor Summary
protected Writer()
           
protected Writer(Object)
           
 
Method Summary
 Writer append(char)
           
 Appendable append(char)
           
 Writer append(CharSequence)
           
 Appendable append(CharSequence)
           
 Writer append(CharSequence, int, int)
           
 Appendable append(CharSequence, int, int)
           
abstract  void close()
           
abstract  void flush()
           
 void write(char[])
           
abstract  void write(char[], int, int)
           
 void write(int)
           
 void write(String)
           
 void write(String, int, int)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

writeBufferSize

private final int writeBufferSize

lock

protected Object lock

writeBuffer

private char[] writeBuffer
Constructor Detail

Writer

protected Writer()

Writer

protected Writer(Object)
Method Detail

write

public void write(int)
           throws IOException
Throws:
IOException

write

public void write(char[])
           throws IOException
Throws:
IOException

write

public abstract void write(char[],
                           int,
                           int)
                    throws IOException
Throws:
IOException

write

public void write(String)
           throws IOException
Throws:
IOException

write

public void write(String,
                  int,
                  int)
           throws IOException
Throws:
IOException

append

public Writer append(CharSequence)
              throws IOException
Specified by:
append in interface Appendable
Throws:
IOException

append

public Writer append(CharSequence,
                     int,
                     int)
              throws IOException
Specified by:
append in interface Appendable
Throws:
IOException

append

public Writer append(char)
              throws IOException
Specified by:
append in interface Appendable
Throws:
IOException

flush

public abstract void flush()
                    throws IOException
Specified by:
flush in interface Flushable
Throws:
IOException

close

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

append

public volatile Appendable append(char)
                           throws IOException
Specified by:
append in interface Appendable
Throws:
IOException

append

public volatile Appendable append(CharSequence,
                                  int,
                                  int)
                           throws IOException
Specified by:
append in interface Appendable
Throws:
IOException

append

public volatile Appendable append(CharSequence)
                           throws IOException
Specified by:
append in interface Appendable
Throws:
IOException

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.