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 and Description
    --- | ---
    `void` | `freeBuffer(java.nio.ByteBuffer b)`

- - ### Method Detail

    - #### freeBuffer

          void freeBuffer(java.nio.ByteBuffer b)
                   throws java.io.IOException

      Throws:
        `java.io.IOException`

Copyright 2020 The Apache Software Foundation or its licensors, as applicable.