@Beta public final class UrlResource extends ResourceBase
Constructor and Description |
---|
UrlResource(ResourceKey key,
java.net.URL url) |
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 UrlResource(ResourceKey key, java.net.URL url)