public interface Resource
Modifier and Type | Method and Description |
---|---|
boolean |
exists() |
com.google.common.io.ByteSource |
getBytes() |
ResourceKey |
getKey() |
long |
getSize() |
long |
getTimestamp() |
java.net.URL |
getUrl() |
java.io.Reader |
openReader() |
java.io.InputStream |
openStream() |
byte[] |
readBytes() |
java.util.List<java.lang.String> |
readLines() |
java.lang.String |
readString() |
void |
requireExists() |
ResourceKey getKey()
java.net.URL getUrl()
void requireExists()
boolean exists()
long getSize()
long getTimestamp()
java.io.InputStream openStream()
java.io.Reader openReader()
java.lang.String readString()
byte[] readBytes()
java.util.List<java.lang.String> readLines()
com.google.common.io.ByteSource getBytes()