public class RestFileInfo extends Object implements Serializable
| Constructor and Description |
|---|
RestFileInfo(long lastModified,
long creationTime,
long lastAccessTime,
long size,
String mimeType,
String name,
String fileKey,
boolean directory,
boolean other,
boolean regularFile,
boolean symbolicLink,
boolean versionedFile,
List<RestFileInfo> children) |
RestFileInfo(Path file,
BasicFileAttributes fileAttributes,
boolean isVersionedFile) |
RestFileInfo(Path file,
BasicFileAttributes fileAttributes,
boolean isVersionedFile,
List<RestFileInfo> children) |
RestFileInfo(RestFileInfo other) |
| Modifier and Type | Method and Description |
|---|---|
List<RestFileInfo> |
getChildren() |
long |
getCreationTime() |
String |
getFileKey() |
long |
getLastAccessTime() |
long |
getLastModified() |
String |
getMimeType() |
String |
getName() |
long |
getSize() |
boolean |
isDirectory() |
boolean |
isOther() |
boolean |
isRegularFile() |
boolean |
isSymbolicLink() |
boolean |
isVersionedFile() |
Map<String,Object> |
toMap() |
String |
toString() |
public RestFileInfo(long lastModified,
long creationTime,
long lastAccessTime,
long size,
String mimeType,
String name,
String fileKey,
boolean directory,
boolean other,
boolean regularFile,
boolean symbolicLink,
boolean versionedFile,
List<RestFileInfo> children)
public RestFileInfo(RestFileInfo other)
public RestFileInfo(Path file, BasicFileAttributes fileAttributes, boolean isVersionedFile) throws IOException
IOExceptionpublic RestFileInfo(Path file, BasicFileAttributes fileAttributes, boolean isVersionedFile, List<RestFileInfo> children) throws IOException
IOExceptionpublic long getLastModified()
public long getCreationTime()
public long getLastAccessTime()
public long getSize()
public String getMimeType()
public String getName()
public String getFileKey()
public boolean isDirectory()
public boolean isOther()
public boolean isRegularFile()
public boolean isSymbolicLink()
public boolean isVersionedFile()
public List<RestFileInfo> getChildren()
Copyright © 2022 LSST. All rights reserved.