public class ContentInformation extends Object implements Serializable
| Constructor and Description |
|---|
ContentInformation(boolean isAvailable,
Date lastModified) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists() |
Date |
getLastModified()
Returns last modified date normalized to seconds accuracy.
|
static ContentInformation |
notFound()
Standard
ContentInformation for not found files. |
void |
setAvailable(boolean isAvailable) |
void |
setLastModified(Date lastModified) |
public ContentInformation(boolean isAvailable,
Date lastModified)
public boolean exists()
public void setAvailable(boolean isAvailable)
public Date getLastModified()
public void setLastModified(Date lastModified)
public static ContentInformation notFound()
ContentInformation for not found files.Copyright © 2015. All rights reserved.