Java org.springframework.core.io ByteArrayResource fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.core.io ByteArrayResource fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.core.io ByteArrayResource.

The text is from its open source code.

Subclass

org.springframework.core.io.ByteArrayResource has subclasses.
Click this link to see all its subclasses.

Constructor

ByteArrayResource(byte[] byteArray)
Create a new ByteArrayResource .
ByteArrayResource(byte[] byteArray, @Nullable String description)
Create a new ByteArrayResource with a description.

Method

byte[]getByteArray()
Return the underlying byte array.
InputStreamgetInputStream()
This implementation returns a ByteArrayInputStream for the underlying byte array.