org.codehaus.xfire.util
Class CachedOutputStream
java.lang.Object
java.io.OutputStream
org.codehaus.xfire.util.CachedOutputStream
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable
public class CachedOutputStream
- extends java.io.OutputStream
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
CachedOutputStream
public CachedOutputStream(int threshold,
java.io.File outputDir)
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface java.io.Closeable
- Overrides:
close
in class java.io.OutputStream
- Throws:
java.io.IOException
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
flush
public void flush()
throws java.io.IOException
- Specified by:
flush
in interface java.io.Flushable
- Overrides:
flush
in class java.io.OutputStream
- Throws:
java.io.IOException
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
write
public void write(byte[] b,
int off,
int len)
throws java.io.IOException
- Overrides:
write
in class java.io.OutputStream
- Throws:
java.io.IOException
write
public void write(byte[] b)
throws java.io.IOException
- Overrides:
write
in class java.io.OutputStream
- Throws:
java.io.IOException
write
public void write(int b)
throws java.io.IOException
- Specified by:
write
in class java.io.OutputStream
- Throws:
java.io.IOException
getTempFile
public java.io.File getTempFile()
getInputStream
public java.io.InputStream getInputStream()
dispose
public void dispose()
Copyright © 2004-2011. All Rights Reserved.