public class BytesContentProvider extends AbstractTypedContentProvider
ContentProvider
for byte arrays.ContentProvider.Typed
Constructor and Description |
---|
BytesContentProvider(byte[]... bytes) |
BytesContentProvider(String contentType,
byte[]... bytes) |
Modifier and Type | Method and Description |
---|---|
long |
getLength() |
Iterator<ByteBuffer> |
iterator() |
getContentType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public BytesContentProvider(byte[]... bytes)
public BytesContentProvider(String contentType, byte[]... bytes)
public long getLength()
public Iterator<ByteBuffer> iterator()
Copyright © 1995-2015 Webtide. All Rights Reserved.