| java.lang.Object java.io.OutputStream org.acm.seguin.io.InplaceOutputStream
InplaceOutputStream | public class InplaceOutputStream extends OutputStream (Code) | | To the user of this object, it appears that the file is written in place.
author: Chris Seguin author: Mike Atkinson version: $Id: InplaceOutputStream.java,v 1.6 2003/09/01 00:25:31 mikeatkinson Exp $ |
Method Summary | |
public void | close() | protected void | finalize() | public void | flush() | public void | write(int b) | public void | write(byte b) | public void | write(byte b, int off, int len) |
InplaceOutputStream | public InplaceOutputStream(File dest) throws IOException(Code) | | Creates an InplaceOutputStream
Parameters: dest - the output file location exception: IOException - throws an IOException |
finalize | protected void finalize()(Code) | | Make sure to clean up after itself
|
write | public void write(int b) throws IOException(Code) | | Write a byte to the file
Parameters: b - the byte to be written exception: IOException - throws an IOException |
write | public void write(byte b) throws IOException(Code) | | Write a byte array to the file
Parameters: b - the byte array to be written exception: IOException - throws an IOException |
write | public void write(byte b, int off, int len) throws IOException(Code) | | Write a byte array to the file
Parameters: b - the byte array to be written Parameters: off - the offset into the array Parameters: len - the number of bytes to write exception: IOException - throws an IOException |
|
|