JML

java.io
Class BufferedWriter

java.lang.Object
  extended byjava.io.Writer
      extended byjava.io.BufferedWriter

public class BufferedWriter
extends Writer


Model Field Summary
 
Model fields inherited from class java.lang.Object
_getClass, objectState, theString
 
Ghost Field Summary
 
Ghost fields inherited from class java.lang.Object
objectTimesFinalized, owner
 
Field Summary
private  char[] cb
           
private static int defaultCharBufferSize
           
private  String lineSeparator
           
private  int nChars
           
private  int nextChar
           
private  Writer out
           
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
BufferedWriter(Writer)
           
BufferedWriter(Writer, int)
           
 
Model Method Summary
 
Model methods inherited from class java.lang.Object
hashValue
 
Method Summary
 void close()
           
private  void ensureOpen()
           
 void flush()
           
(package private)  void flushBuffer()
           
private  int min(int, int)
           
 void newLine()
           
 void write(char[], int, int)
           
 void write(int)
           
 void write(String, int, int)
           
 
Methods inherited from class java.io.Writer
write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lineSeparator

private String lineSeparator

cb

private char[] cb

nChars

private int nChars

out

private Writer out

nextChar

private int nextChar

defaultCharBufferSize

private static int defaultCharBufferSize
Constructor Detail

BufferedWriter

public BufferedWriter(Writer)

BufferedWriter

public BufferedWriter(Writer,
                      int)
Method Detail

close

public void close()
           throws IOException
Throws:
IOException

ensureOpen

private void ensureOpen()
                 throws IOException
Throws:
IOException

flush

public void flush()
           throws IOException
Throws:
IOException

flushBuffer

void flushBuffer()
           throws IOException
Throws:
IOException

newLine

public void newLine()
             throws IOException
Throws:
IOException

write

public void write(int)
           throws IOException
Overrides:
write in class Writer
Throws:
IOException

min

private int min(int,
                int)

write

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

write

public void write(String,
                  int,
                  int)
           throws IOException
Overrides:
write in class Writer
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.