public class NativeSshFileNio extends NativeSshFile
SshFile.Attribute, SshFile.Permissionfile, fileName, LOG, nativeFileSystemView, userName| Constructor and Description |
|---|
NativeSshFileNio(NativeFileSystemView nativeFileSystemView,
java.lang.String fileName,
java.io.File file,
java.lang.String userName)
Constructor, internal do not use directly.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<SshFile.Attribute,java.lang.Object> |
getAttributes(boolean followLinks) |
java.lang.String |
readSymbolicLink() |
void |
setAttributes(java.util.Map<SshFile.Attribute,java.lang.Object> attributes) |
create, createInputStream, createOutputStream, delete, doesExist, equals, getAbsolutePath, getAttribute, getLastModified, getName, getNativeFile, getOwner, getParentFile, getPhysicalFile, getPhysicalName, getPhysicalName, getSize, handleClose, isDirectory, isExecutable, isFile, isReadable, isRemovable, isWritable, listSshFiles, mkdir, move, normalizeSeparateChar, setAttribute, setLastModified, toString, truncatepublic NativeSshFileNio(NativeFileSystemView nativeFileSystemView, java.lang.String fileName, java.io.File file, java.lang.String userName)
nativeFileSystemView - public java.util.Map<SshFile.Attribute,java.lang.Object> getAttributes(boolean followLinks) throws java.io.IOException
getAttributes in interface SshFilegetAttributes in class NativeSshFilejava.io.IOExceptionpublic void setAttributes(java.util.Map<SshFile.Attribute,java.lang.Object> attributes) throws java.io.IOException
setAttributes in interface SshFilesetAttributes in class NativeSshFilejava.io.IOExceptionpublic java.lang.String readSymbolicLink()
throws java.io.IOException
readSymbolicLink in interface SshFilereadSymbolicLink in class NativeSshFilejava.io.IOExceptionCopyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.