|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MIMESource
This interface provides the abstraction of MIME data source. It provides a content type for that data source as well as access to it in the form of InputStream.
Method Summary | |
---|---|
java.lang.String |
getContentType()
This method returns the MIME type of the data in the form of a string. |
java.io.InputStream |
getInputStream()
This method returns an InputStream representing the the data and will throw the appropriate exception if it cannot do so. |
Method Detail |
---|
java.lang.String getContentType()
java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |