org.apache.maven.wagon
Class LazyFileOutputStream
OutputStream
org.apache.maven.wagon.LazyFileOutputStream
public class LazyFileOutputStream
extends OutputStream
Variant of FileOutputStream which creates the file only when first portion
of data is written.
$Id: LazyFileOutputStream.java 162476 2005-04-19 02:49:45Z brett $
LazyFileOutputStream
public LazyFileOutputStream(File file)
LazyFileOutputStream
public LazyFileOutputStream(String filename)
close
public void close()
throws IOException
equals
public boolean equals(Object obj)
flush
public void flush()
throws IOException
getChannel
public FileChannel getChannel()
getFD
public FileDescriptor getFD()
throws IOException
hashCode
public int hashCode()
toString
public String toString()
write
public void write(byte[] b)
throws IOException
write
public void write(byte[] b,
int off,
int len)
throws IOException
java.io.OutputStream.write(byte[], int, int)
write
public void write(int b)
throws IOException