Package org.apache.poi.poifs.nio
Interface CleanerUtil.BufferCleaner
-
- Enclosing class:
- CleanerUtil
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface CleanerUtil.BufferCleaner
Pass in an implementation of this interface to cleanup ByteBuffers. CleanerUtil implements this to allow unmapping of bytebuffers with private Java APIs.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
freeBuffer(ByteBuffer b)
-
-
-
Method Detail
-
freeBuffer
void freeBuffer(ByteBuffer b) throws IOException
- Throws:
IOException
-
-