| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.OutputStream com.ibm.portal.resolver.streams.MultipartOutputStream
public abstract class MultipartOutputStream
Implementation of a stream that can be used to produce multipart streams. Implementations of this stream can be retrieved via the StreamFactory. The usage of this class is similar to ZipOutputStream. In order to produce a multipart output
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.ibm.portal.resolver.streams.MultipartStream |
---|
MultipartStream.Entry |
Field Summary |
---|
Fields inherited from interface com.ibm.portal.resolver.streams.MultipartStream |
---|
CONTENT_TYPE_FORM_DATA, KEY_CONTENT_DISPOSITION, KEY_FILENAME, KEY_MIME_BOUNDARY, KEY_NAME, VALUE_FORM_DATA |
Constructor Summary | |
---|---|
MultipartOutputStream()
|
Method Summary | |
---|---|
abstract void | finish()
Finishes writing the contents of the multipart output stream without closing the underlying stream. |
abstract void | putNextEntry(MultipartStream.Entry entry)
Begins writing a new multipart file entry and positions the stream to the start of the entry data. |
Methods inherited from class java.io.OutputStream |
---|
close, flush, write, write, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.portal.resolver.streams.MultipartStream |
---|
closeEntry |
Constructor Detail |
---|
public MultipartOutputStream()
Method Detail |
---|
public abstract void putNextEntry(MultipartStream.Entry entry) throws java.io.IOException
null
,
in this case no headers are written and the defaults aply
public abstract void finish() throws java.io.IOException
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |