|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.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 FilterOutputStreampublic void write(int b)
write in class FilterOutputStreampublic void flush()
flush in interface Flushableflush in class FilterOutputStreampublic void close()
close in interface Closeableclose in class FilterOutputStream
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||