public class EmptyResourceMetadata extends java.lang.Object implements ResourceMetadata
Modifier and Type | Method and Description |
---|---|
boolean |
exists() |
com.google.common.base.Optional<java.nio.charset.Charset> |
getCharset() |
static EmptyResourceMetadata |
instance() |
java.io.InputStream |
load() |
com.google.common.base.Optional<java.net.URL> |
toUrl() |
public static EmptyResourceMetadata instance()
public boolean exists()
exists
in interface ResourceMetadata
public java.io.InputStream load()
load
in interface ResourceMetadata
public com.google.common.base.Optional<java.nio.charset.Charset> getCharset()
getCharset
in interface ResourceMetadata
public com.google.common.base.Optional<java.net.URL> toUrl()
toUrl
in interface ResourceMetadata