Class ResourceAsByteArray

  • All Implemented Interfaces:
    Parsable<byte[]>

    public class ResourceAsByteArray
    extends java.lang.Object
    implements Parsable<byte[]>
    Wrapper for resource that may read content of that resource as bytes array.
    • Method Detail

      • bytes

        public byte[] bytes()
        Returns:
        content of resource as bytes array
      • get

        public byte[] get()
        Specified by:
        get in interface Parsable<byte[]>
        Returns:
        content of resource as bytes array