|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.james.util.stream.MessageStream
public class MessageStream
Helper class to write to temporary file for transfer data. This is mostly useful for writing large chunk of data back the the client. This Object is designed for one time use..
| Constructor Summary | |
|---|---|
MessageStream()
Create new MessageStream on a temporary File |
|
| Method Summary | |
|---|---|
DisposeOnCloseInputStream |
getInputStream()
Return the DisposeOnCloseInputStream of the temporary file |
java.io.OutputStream |
getOutputStream()
Return the OutputStream of the temporary file |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MessageStream()
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public java.io.OutputStream getOutputStream()
throws java.io.IOException
OutputStream of the temporary file
java.io.IOException
public DisposeOnCloseInputStream getInputStream()
throws java.io.IOException
DisposeOnCloseInputStream of the temporary file
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||