public final class HttpFileAttributes extends Object
HttpFile.HttpFile.readAttributes()| Constructor and Description |
|---|
HttpFileAttributes(long length,
long lastModifiedMillis)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
long |
lastModifiedMillis()
Returns the last modified time represented as the number of milliseconds since the epoch.
|
long |
length()
Returns the length in bytes.
|
String |
toString() |
public HttpFileAttributes(long length,
long lastModifiedMillis)
length - the length in byteslastModifiedMillis - the last modified time represented as the number of milliseconds
since the epochCopyright © 2020 LeanCloud. All rights reserved.