com.ibm.portal.resolver.streams
Interface MultipartStream.Entry

All Superinterfaces:
java.lang.Iterable<java.util.Map.Entry<java.lang.String,java.lang.String>>, 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>>
All Known Implementing Classes:
DefaultMultipartEntry
Enclosing interface:
MultipartStream

public static interface MultipartStream.Entry
extends MetaData<java.lang.String,java.util.Map.Entry<java.lang.String,java.lang.String>>, IterableListModel<java.util.Map.Entry<java.lang.String,java.lang.String>>

This class is used to represent a multipart stream entry. The MetaData interface represents the headers of this mime entry, mapping from String -> String

Since:
6.0.1

Method Summary
 java.lang.String getContentType()
          Mime type of the data.
 IterableListModel<java.lang.String> getNames()
          Returns a list of the names of meta data entries.
 java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.String>> iterator()
          Returns the iterator over all entries
 
Methods inherited from interface com.ibm.portal.MetaData
getValue
 

Method Detail

getContentType

java.lang.String getContentType()
Mime type of the data. The return value must be a registered mime type

Returns:
mime type string

getNames

IterableListModel<java.lang.String> getNames()
Returns a list of the names of meta data entries.

Specified by:
getNames in interface MetaData<java.lang.String,java.util.Map.Entry<java.lang.String,java.lang.String>>
Returns:
the list of names.

iterator

java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.String>> iterator()
Returns the iterator over all entries

Specified by:
iterator in interface java.lang.Iterable<java.util.Map.Entry<java.lang.String,java.lang.String>>
Specified by:
iterator in interface IterableListModel<java.util.Map.Entry<java.lang.String,java.lang.String>>
Specified by:
iterator in interface ListModel<java.util.Map.Entry<java.lang.String,java.lang.String>>
Specified by:
iterator in interface MetaData<java.lang.String,java.util.Map.Entry<java.lang.String,java.lang.String>>
Returns:
the iterator over all entries