public class BytesContentProvider extends Object implements ContentProvider
ContentProvider
for byte arrays.Constructor and Description |
---|
BytesContentProvider(byte[]... bytes) |
Modifier and Type | Method and Description |
---|---|
long |
getLength() |
Iterator<ByteBuffer> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public long getLength()
getLength
in interface ContentProvider
public Iterator<ByteBuffer> iterator()
iterator
in interface Iterable<ByteBuffer>
Copyright © 1995-2019 Mort Bay Consulting. All Rights Reserved.