org.ektorp
Class AttachmentInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.ektorp.AttachmentInputStream
- All Implemented Interfaces:
- Closeable
public class AttachmentInputStream
- extends FilterInputStream
An InputStream that knows what content type is contains.
- Author:
- henrik lundgren
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttachmentInputStream
public AttachmentInputStream(String id,
InputStream data,
String contentType)
AttachmentInputStream
public AttachmentInputStream(String id,
InputStream data,
String contentType,
long size)
getId
public String getId()
getContentType
public String getContentType()
getContentLength
public long getContentLength()
Copyright © 2011. All Rights Reserved.