public class NativeSshFileNio extends NativeSshFile
SshFile.Attribute, SshFile.Permission
file, fileName, LOG, nativeFileSystemView, userName
Constructor and Description |
---|
NativeSshFileNio(NativeFileSystemView nativeFileSystemView,
String fileName,
File file,
String userName)
Constructor, internal do not use directly.
|
Modifier and Type | Method and Description |
---|---|
void |
createSymbolicLink(SshFile destination) |
Map<SshFile.Attribute,Object> |
getAttributes(boolean followLinks) |
String |
readSymbolicLink() |
void |
setAttributes(Map<SshFile.Attribute,Object> attributes) |
create, createInputStream, createOutputStream, delete, doesExist, equals, getAbsolutePath, getAttribute, getLastModified, getName, getNativeFile, getOwner, getParentFile, getPhysicalFile, getPhysicalName, getSize, handleClose, isDirectory, isExecutable, isFile, isReadable, isRemovable, isWritable, listSshFiles, mkdir, move, normalizeSeparateChar, setAttribute, setLastModified, toString, truncate
public NativeSshFileNio(NativeFileSystemView nativeFileSystemView, String fileName, File file, String userName)
nativeFileSystemView
- public Map<SshFile.Attribute,Object> getAttributes(boolean followLinks) throws IOException
getAttributes
in interface SshFile
getAttributes
in class NativeSshFile
IOException
public void setAttributes(Map<SshFile.Attribute,Object> attributes) throws IOException
setAttributes
in interface SshFile
setAttributes
in class NativeSshFile
IOException
public String readSymbolicLink() throws IOException
readSymbolicLink
in interface SshFile
readSymbolicLink
in class NativeSshFile
IOException
public void createSymbolicLink(SshFile destination) throws IOException
createSymbolicLink
in interface SshFile
createSymbolicLink
in class NativeSshFile
IOException
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.