|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.OutputStream java.io.FilterOutputStream org.entityfs.util.io.RandomAccessOutputStreamAdapter
RandomAccessToOutputStreamAdapter
class instead.
This class will be deleted in a future release.
@Deprecated public class RandomAccessOutputStreamAdapter
This adapter treats a RandomAccess
as an OutputStream
.
Field Summary |
---|
Fields inherited from class java.io.FilterOutputStream |
---|
out |
Constructor Summary | |
---|---|
RandomAccessOutputStreamAdapter(RandomAccess ra)
Deprecated. Create an adapter between a RandomAccess and an
OutputStream . |
|
RandomAccessOutputStreamAdapter(RandomAccess ra,
boolean closeRandomAccessWhenClosingStream)
Deprecated. Create an adapter between a RandomAccess and an
OutputStream . |
Method Summary | |
---|---|
void |
close()
Deprecated. |
void |
flush()
Deprecated. |
void |
write(byte[] barr)
Deprecated. |
void |
write(byte[] barr,
int off,
int len)
Deprecated. |
void |
write(int b)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RandomAccessOutputStreamAdapter(RandomAccess ra)
RandomAccess
and an
OutputStream
.
When this adapter is closed, it closes the underlying RandomAccess
object. See
RandomAccessOutputStreamAdapter(RandomAccess, boolean)
ra
- The RandomAccess
to adapt.public RandomAccessOutputStreamAdapter(RandomAccess ra, boolean closeRandomAccessWhenClosingStream)
RandomAccess
and an
OutputStream
.
ra
- The RandomAccess
to adapt.closeRandomAccessWhenClosingStream
- Should the RandomAccess
be closed when this stream is closed?Method Detail |
---|
public void write(byte[] barr)
write
in class FilterOutputStream
public void write(byte[] barr, int off, int len)
write
in class FilterOutputStream
public void write(int b)
write
in class FilterOutputStream
public void flush()
flush
in interface Flushable
flush
in class FilterOutputStream
public void close()
close
in interface Closeable
close
in class FilterOutputStream
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |