org.ektorp
Class AttachmentInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.ektorp.AttachmentInputStream
- All Implemented Interfaces:
- java.io.Closeable
public class AttachmentInputStream
- extends java.io.FilterInputStream
An InputStream that knows what content type is contains.
- Author:
- henrik lundgren
| Fields inherited from class java.io.FilterInputStream |
in |
|
Constructor Summary |
AttachmentInputStream(java.lang.String id,
java.io.InputStream data,
java.lang.String contentType)
|
AttachmentInputStream(java.lang.String id,
java.io.InputStream data,
java.lang.String contentType,
long size)
|
| Methods inherited from class java.io.FilterInputStream |
available, close, 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 |
AttachmentInputStream
public AttachmentInputStream(java.lang.String id,
java.io.InputStream data,
java.lang.String contentType)
AttachmentInputStream
public AttachmentInputStream(java.lang.String id,
java.io.InputStream data,
java.lang.String contentType,
long size)
getId
public java.lang.String getId()
getContentType
public java.lang.String getContentType()
getContentLength
public long getContentLength()
Copyright © 2011. All Rights Reserved.