public static class VersionInfoV2.Version extends RestFileInfo
| Constructor and Description |
|---|
Version(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,
int version,
boolean hidden,
String comment) |
Version(Path file,
BasicFileAttributes fileAttributes,
int version,
boolean hidden,
String comment) |
| Modifier and Type | Method and Description |
|---|---|
String |
getComment() |
int |
getVersion() |
boolean |
isHidden() |
getChildren, getCreationTime, getFileKey, getLastAccessTime, getLastModified, getMimeType, getName, getSize, isDirectory, isOther, isRegularFile, isSymbolicLink, isVersionedFile, toMap, toStringpublic Version(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,
int version,
boolean hidden,
String comment)
public Version(Path file, BasicFileAttributes fileAttributes, int version, boolean hidden, String comment) throws IOException
IOExceptionpublic int getVersion()
public boolean isHidden()
public String getComment()
Copyright © 2022 LSST. All rights reserved.