public class FileProperties extends Object
Constructor and Description |
---|
FileProperties() |
Modifier and Type | Method and Description |
---|---|
long |
contentLength()
Get the contentLength value.
|
String |
contentType()
Get the contentType value.
|
org.joda.time.DateTime |
creationTime()
Get the creationTime value.
|
String |
fileMode()
Get the fileMode value.
|
org.joda.time.DateTime |
lastModified()
Get the lastModified value.
|
FileProperties |
withContentLength(long contentLength)
Set the contentLength value.
|
FileProperties |
withContentType(String contentType)
Set the contentType value.
|
FileProperties |
withCreationTime(org.joda.time.DateTime creationTime)
Set the creationTime value.
|
FileProperties |
withFileMode(String fileMode)
Set the fileMode value.
|
FileProperties |
withLastModified(org.joda.time.DateTime lastModified)
Set the lastModified value.
|
public org.joda.time.DateTime creationTime()
public FileProperties withCreationTime(org.joda.time.DateTime creationTime)
creationTime
- the creationTime value to setpublic org.joda.time.DateTime lastModified()
public FileProperties withLastModified(org.joda.time.DateTime lastModified)
lastModified
- the lastModified value to setpublic long contentLength()
public FileProperties withContentLength(long contentLength)
contentLength
- the contentLength value to setpublic String contentType()
public FileProperties withContentType(String contentType)
contentType
- the contentType value to setpublic String fileMode()
public FileProperties withFileMode(String fileMode)
fileMode
- the fileMode value to setCopyright © 2019. All rights reserved.