|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--mediaframe.mpeg1.audio.player.BigPipedOutputStream
The BigPipedOutputStream represents the Piped Output Stream.
It writes the data into the BigPipedInputStream using it's "receive" method
when the client wants to write the data into the stream.
| Field Summary | |
(package private) BigPipedInputStream |
inputPipe
The reference to the input stream in the pipe. |
| Constructor Summary | |
BigPipedOutputStream(BigPipedInputStream snk)
Constructs a BigPipedOutputStream class with the specified
BigPipedInputStream object in the pipe. |
|
| Method Summary | |
void |
close()
Closes the pipe. |
void |
connect(BigPipedInputStream snk)
Connects this object with the specified BigPipedInputStream object in the pipe. |
void |
write(short[] b,
int off,
int len)
Writes len bytes from the specified short array starting at offset off
to this stream. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
BigPipedInputStream inputPipe
| Constructor Detail |
public BigPipedOutputStream(BigPipedInputStream snk)
BigPipedOutputStream class with the specified
BigPipedInputStream object in the pipe.
snk - the BigPipedInputStream object.| Method Detail |
public void close()
public void connect(BigPipedInputStream snk)
BigPipedInputStream object in the pipe.
snk - the BigPipedInputStream object.
public void write(short[] b,
int off,
int len)
throws java.io.IOException
len bytes from the specified short array starting at offset off
to this stream.
b - the data.off - the start offset in the data.len - the number of bytes to write.
java.io.IOException - raises if a error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||