| Constructor and Description |
|---|
DefaultNPathInfo(String name,
String path,
NPathType type,
NPathType targetType,
String targetPath,
long size,
boolean symbolicLink,
Instant lastModified,
Instant lastAccess,
Instant creationTime,
Set<NPathPermission> permissions,
String owner,
String group)
Default n path info.
|
| Modifier and Type | Method and Description |
|---|---|
long |
contentLength() |
Instant |
creationInstant() |
boolean |
equals(Object o) |
String |
group()
Group.
|
int |
hashCode() |
boolean |
isSymbolicLink() |
Instant |
lastAccessInstant()
Last access instant.
|
Instant |
lastModifiedInstant() |
String |
name() |
static DefaultNPathInfo |
ofNotFound(String path)
Creates a new instance of not found.
|
String |
owner() |
String |
path() |
Set<NPathPermission> |
permissions() |
String |
targetPath() |
NPathType |
targetType() |
String |
toString() |
NPathType |
type() |
public DefaultNPathInfo(String name, String path, NPathType type, NPathType targetType, String targetPath, long size, boolean symbolicLink, Instant lastModified, Instant lastAccess, Instant creationTime, Set<NPathPermission> permissions, String owner, String group)
name - namepath - pathtype - typetargetType - target typetargetPath - target pathsize - sizesymbolicLink - symbolic linklastModified - last modifiedlastAccess - last accesscreationTime - creation timepermissions - permissionsowner - ownergroup - grouppublic static DefaultNPathInfo ofNotFound(String path)
ofNotFound in interface NPathInfopath - pathpublic Instant lastAccessInstant()
lastAccessInstant in interface NPathInfopublic NPathType targetType()
targetType in interface NPathInfopublic String targetPath()
targetPath in interface NPathInfopublic long contentLength()
contentLength in interface NPathInfopublic boolean isSymbolicLink()
isSymbolicLink in interface NPathInfopublic Instant lastModifiedInstant()
lastModifiedInstant in interface NPathInfopublic Instant creationInstant()
creationInstant in interface NPathInfopublic Set<NPathPermission> permissions()
permissions in interface NPathInfoCopyright © 2026 vpc open source initiative. All rights reserved.