public class NativeSshFileNio extends NativeSshFile
SshFile.Attribute, SshFile.Permissionfile, 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, truncatepublic NativeSshFileNio(NativeFileSystemView nativeFileSystemView, String fileName, File file, String userName)
nativeFileSystemView - public Map<SshFile.Attribute,Object> getAttributes(boolean followLinks) throws IOException
getAttributes in interface SshFilegetAttributes in class NativeSshFileIOExceptionpublic void setAttributes(Map<SshFile.Attribute,Object> attributes) throws IOException
setAttributes in interface SshFilesetAttributes in class NativeSshFileIOExceptionpublic String readSymbolicLink() throws IOException
readSymbolicLink in interface SshFilereadSymbolicLink in class NativeSshFileIOExceptionpublic void createSymbolicLink(SshFile destination) throws IOException
createSymbolicLink in interface SshFilecreateSymbolicLink in class NativeSshFileIOExceptionCopyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.