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
IOExceptionpublic PathContentProvider(java.nio.file.Path filePath, int bufferSize) throws IOException
IOExceptionpublic long getLength()
getLength in interface ContentProviderpublic Iterator<ByteBuffer> iterator()
iterator in interface Iterable<ByteBuffer>Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.