public class PathContentProvider extends Object implements ContentProvider
Constructor and Description |
---|
PathContentProvider(java.nio.file.Path filePath) |
PathContentProvider(java.nio.file.Path filePath,
int bufferSize) |
public PathContentProvider(java.nio.file.Path filePath) throws IOException
IOException
public PathContentProvider(java.nio.file.Path filePath, int bufferSize) throws IOException
IOException
public long length()
length
in interface ContentProvider
public Iterator<ByteBuffer> iterator()
iterator
in interface Iterable<ByteBuffer>
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.