public class SuccessFile extends Object
Constructor and Description |
---|
SuccessFile(long creationTime,
long modificationTime) |
Modifier and Type | Method and Description |
---|---|
long |
creationTime() |
boolean |
equals(Object o) |
static SuccessFile |
fromJson(String json) |
static SuccessFile |
fromPath(FileIO fileIO,
Path path) |
int |
hashCode() |
long |
modificationTime() |
static SuccessFile |
safelyFromPath(FileIO fileIO,
Path path) |
String |
toJson() |
SuccessFile |
updateModificationTime(long modificationTime) |
public long creationTime()
public long modificationTime()
public SuccessFile updateModificationTime(long modificationTime)
public String toJson()
public static SuccessFile fromJson(String json)
@Nullable public static SuccessFile safelyFromPath(FileIO fileIO, Path path) throws IOException
IOException
public static SuccessFile fromPath(FileIO fileIO, Path path) throws IOException
IOException
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.