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 ResourceMetadatapublic java.io.InputStream load()
load in interface ResourceMetadatapublic com.google.common.base.Optional<java.nio.charset.Charset> getCharset()
getCharset in interface ResourceMetadatapublic com.google.common.base.Optional<java.net.URL> toUrl()
toUrl in interface ResourceMetadata