com.ibm.portal.resolver.streams
Class MultipartInputStream.Entry
java.lang.Object
java.io.InputStream
com.ibm.portal.resolver.streams.MultipartInputStream.Entry
- All Implemented Interfaces:
- IterableListModel<java.util.Map.Entry<java.lang.String,java.lang.String>>, ListModel<java.util.Map.Entry<java.lang.String,java.lang.String>>, MetaData<java.lang.String,java.util.Map.Entry<java.lang.String,java.lang.String>>, MultipartStream.Entry, java.io.Closeable, java.lang.Iterable<java.util.Map.Entry<java.lang.String,java.lang.String>>, java.nio.channels.Channel
- Direct Known Subclasses:
- FormDataInputStream.Entry
- Enclosing class:
- MultipartInputStream
-
public abstract static class MultipartInputStream.Entry
- extends java.io.InputStream
- implements MultipartStream.Entry, java.nio.channels.Channel
Represents an entry in this archive input stream. The stream
representation of the entry will close the entry but not the complete
stream
Method Summary
|
abstract void |
close()
Delegates to the ArchiveInputStream#closeEntry() method of
the hosting stream |
abstract void |
write(java.io.OutputStream out)
Copies the content of the entry to the output stream |
Methods inherited from class java.io.InputStream
|
available, mark, markSupported, read, read, read, reset, skip |
Methods inherited from class java.lang.Object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.nio.channels.Channel
|
isOpen |
MultipartInputStream.Entry
public MultipartInputStream.Entry()
close
public abstract void close()
throws java.io.IOException
- Delegates to the ArchiveInputStream#closeEntry() method of
the hosting stream
- Specified by:
- close in interface java.io.Closeable
- Specified by:
- close in interface java.nio.channels.Channel
- Overrides:
- close in class java.io.InputStream
- Throws:
- java.io.IOException
write
public abstract void write(java.io.OutputStream out)
throws java.io.IOException
- Copies the content of the entry to the output stream
- Parameters:
- out - target stream, not null
- Throws:
- java.io.IOException
- Since:
- 7.0.0.1