public class InMemoryAsset extends Asset.Forwarding
Asset.Forwarding| Constructor and Description |
|---|
InMemoryAsset(Asset asset,
byte[] contents) |
| Modifier and Type | Method and Description |
|---|---|
long |
length() |
InputStream |
stream() |
etag, lastModified, name, path, resource, typepublic InMemoryAsset(Asset asset, byte[] contents)
public long length()
length in interface Assetlength in class Asset.Forwardingpublic InputStream stream() throws Exception
stream in interface Assetstream in class Asset.ForwardingExceptionCopyright © 2016. All rights reserved.