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 |
---|---|
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, getOwner, getParentFile, getPhysicalFile, getPhysicalName, 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
Copyright © 2008–2013 The Apache Software Foundation. All rights reserved.