org.qi4j.io

## Class Transforms.ByteBuffer2String

- java.lang.Object
- - org.qi4j.io.Transforms.ByteBuffer2String

- All Implemented Interfaces:
    Function<ByteBuffer,String>
  Enclosing class:
    Transforms

      public static class Transforms.ByteBuffer2String
      extends Object
      implements Function<ByteBuffer,String>

  Convert ByteBuffers to Strings using the given CharSet

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Transforms.ByteBuffer2String(Charset charSet)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `map(ByteBuffer buffer)` Map a single item from one type to another

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Transforms.ByteBuffer2String

          public Transforms.ByteBuffer2String(Charset charSet)

  - ### Method Detail

    - #### map

          public String map(ByteBuffer buffer)

      Description copied from interface: `Function`
      Map a single item from one type to another
      Specified by:
        `map` in interface `Function<ByteBuffer,String>`
      Parameters:
        `buffer` - the input item
      Returns:
        the mapped item