Package net.schmizz.sshj.sftp
Class RemoteResourceInfo
- java.lang.Object
-
- net.schmizz.sshj.sftp.RemoteResourceInfo
-
public class RemoteResourceInfo extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private FileAttributes
attrs
private PathComponents
comps
-
Constructor Summary
Constructors Constructor Description RemoteResourceInfo(PathComponents comps, FileAttributes attrs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
FileAttributes
getAttributes()
java.lang.String
getName()
java.lang.String
getParent()
java.lang.String
getPath()
int
hashCode()
boolean
isDirectory()
boolean
isRegularFile()
java.lang.String
toString()
-
-
-
Field Detail
-
comps
private final PathComponents comps
-
attrs
private final FileAttributes attrs
-
-
Constructor Detail
-
RemoteResourceInfo
public RemoteResourceInfo(PathComponents comps, FileAttributes attrs)
-
-
Method Detail
-
getPath
public java.lang.String getPath()
-
getParent
public java.lang.String getParent()
-
getName
public java.lang.String getName()
-
getAttributes
public FileAttributes getAttributes()
-
isRegularFile
public boolean isRegularFile()
-
isDirectory
public boolean isDirectory()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-