Package org.teamapps.ux.resource
Class ByteArrayResource
java.lang.Object
org.teamapps.ux.resource.ByteArrayResource
- All Implemented Interfaces:
Resource
public class ByteArrayResource extends java.lang.Object implements Resource
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ByteArrayResource(byte[] data, java.lang.String name) -
Method Summary
Modifier and Type Method Description java.io.InputStreamgetInputStream()longgetLength()java.lang.StringgetName()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.teamapps.ux.resource.Resource
asAttachment, expiring, getAsFile, getExpires, getLastModified, getMimeType, isAttachment, lastModified, withMimeType
-
Constructor Details
-
ByteArrayResource
public ByteArrayResource(byte[] data, java.lang.String name)
-
-
Method Details