content
private final byte[] content
Underlying content
Asset
Asset
backed by a byte arrayByteArrayAsset(byte[] content)
Asset
instance backed by the specified byte arrayByteArrayAsset(InputStream stream)
Asset
instance backed by the bytes contained in the the specified InputStream
byte[]
toString()
Asset
instance backed by the specified byte arraycontent
- IllegalArgumentException
- If the contents were not specifiedAsset
instance backed by the bytes contained in the the specified InputStream
stream
- IllegalArgumentException
- If the stream is not specifiedAsset
openStream
in interface Asset
InputStream
for each call