public static final class FileProvider.Handle
extends java.lang.Object
implements java.io.Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getFileId() |
long |
getFileSize() |
int |
read(java.nio.ByteBuffer buffer,
long offset) |
public int read(java.nio.ByteBuffer buffer,
long offset)
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic long getFileSize()
throws java.io.IOException
java.io.IOExceptionpublic int getFileId()