public interface Resource
Modifier and Type | Method and Description |
---|---|
InputStream |
asStream()
Returns an InputStream which reads the contents of this resource,
starting with the first byte.
|
long |
getLastModified()
Returns the time the resource was last modified in milliseconds since
midnight of January 1, 1970 UTC.
|
String |
getMimeType()
Returns the mimetype of this resource.
|
String getMimeType()
long getLastModified()
InputStream asStream()
Copyright © 2017. All rights reserved.