public static final class FileProvider.Handle extends Object implements Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getFileId() |
long |
getFileSize() |
int |
read(ByteBuffer buffer,
long offset) |
public int read(ByteBuffer buffer, long offset) throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic long getFileSize()
throws IOException
IOExceptionpublic int getFileId()
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.