![JAR search and dependency download from the Maven repository](/logo.png)
com.pastdev.jsch.nio.file.StandardUserPrincipal Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jsch-nio Show documentation
Show all versions of jsch-nio Show documentation
A Java 7 FileSystem implementation over SSH using JSch and jsch-extension
The newest version!
package com.pastdev.jsch.nio.file;
import java.nio.file.attribute.UserPrincipal;
class StandardUserPrincipal implements UserPrincipal {
private String name;
StandardUserPrincipal( String name ) {
this.name = name;
}
@Override
public boolean equals( Object o ) {
return name.equals( o );
}
@Override
public String getName() {
return name;
}
@Override
public int hashCode() {
return name.hashCode();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy