public class FileEntityInfo extends Object implements EntityInfo
Constructor and Description |
---|
FileEntityInfo(File file,
String mimeType)
Creates a new entity info for the specified file.
|
Modifier and Type | Method and Description |
---|---|
long |
getContentLength() |
String |
getETag()
Get ETag.
|
File |
getFile()
Returns the file.
|
long |
getLastModified()
Get last modified time.
|
String |
getMimeType()
Returns the MIME Type as defined for the server.
|
public final long getLastModified()
EntityInfo
getLastModified
in interface EntityInfo
public final long getContentLength()
public final String getMimeType()
EntityInfo
getMimeType
in interface EntityInfo
public final String getETag()
EntityInfo
getETag
in interface EntityInfo
public final File getFile()
Copyright © 2016 Allette Systems. All rights reserved.