@Beta public final class BytesResource extends ResourceBase
Constructor and Description |
---|
BytesResource(ResourceKey key,
byte[] bytes) |
Modifier and Type | Method and Description |
---|---|
boolean |
exists() |
com.google.common.io.ByteSource |
getBytes() |
long |
getSize() |
long |
getTimestamp() |
java.net.URL |
getUrl() |
getKey, handleError, openReader, openStream, readBytes, readLines, readString, requireExists
public BytesResource(ResourceKey key, byte[] bytes)