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
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public long getFileSize() throws IOException
IOException
public int getFileId()
Copyright © 2020 JBoss, a division of Red Hat. All rights reserved.