|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbe.fgov.ehealth.etee.crypto.utils.DataPipeInMemory
public class DataPipeInMemory
DataPipe using an in memory mechanism to push all the incoming data to an inputstream once the getFrom() method is called.
| Constructor Summary | |
|---|---|
DataPipeInMemory(int buffer)
|
|
| Method Summary | |
|---|---|
void |
close()
|
java.io.InputStream |
getFrom()
Reads data from the pipe. |
java.io.OutputStream |
getTo()
Adds data to the pipe. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataPipeInMemory(int buffer)
buffer - initial capacity of the buffer| Method Detail |
|---|
public java.io.InputStream getFrom()
DataPipe
getFrom in interface DataPipepublic java.io.OutputStream getTo()
DataPipe
getTo in interface DataPipepublic void close()
close in interface java.io.Closeable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||