Interface ContentObjectReader


public interface ContentObjectReader
Content Object Reader
Since:
9.4
API:
This is a public API.
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    Returns the content as byte array.
    Returns the content as input stream.
    Returns the content as character stream (UTF-8).
    Returns the content as string (UTF-8).
  • Method Details

    • string

      String string()
      Returns the content as string (UTF-8).
      Returns:
      content
      API:
      This public API is available in IvyScript and Java. It has the visibility NOVICE.
    • reader

      Reader reader()
      Returns the content as character stream (UTF-8).
      Returns:
      reader
      API:
      This public API is available in IvyScript and Java. It has the visibility NOVICE.
    • inputStream

      InputStream inputStream()
      Returns the content as input stream.
      Returns:
      input stream
      API:
      This public API is available in IvyScript and Java. It has the visibility NOVICE.
    • bytes

      byte[] bytes()
      Returns the content as byte array.
      Returns:
      byte array
      API:
      This public API is available in IvyScript and Java. It has the visibility NOVICE.