org.apache.olingo.odata2.ref.processor

## Class ScenarioDataSource.BinaryData

- java.lang.Object
- - org.apache.olingo.odata2.ref.processor.ScenarioDataSource.BinaryData

- Enclosing class:
    ScenarioDataSource

      public static class ScenarioDataSource.BinaryData
      extends Object

  Container to store binary data (as byte array) and the associated MIME type.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BinaryData(byte[] data, String mimeType)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `byte[]` | `getData()`
    `String` | `getMimeType()`
    `String` | `toString()`

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

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

- - ### Constructor Detail

    - #### BinaryData

          public BinaryData(byte[] data,
                            String mimeType)

  - ### Method Detail

    - #### getData

          public byte[] getData()

    - #### getMimeType

          public String getMimeType()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2013-2023 The Apache Software Foundation. All Rights Reserved.