protected class AbstractFileSystem.OpenFile
extends java.lang.Object
| Constructor and Description |
|---|
OpenFile(AbstractFile f,
com.sshtools.common.util.UnsignedInteger32 flags) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
AbstractFile |
getFile() |
long |
getFilePointer() |
com.sshtools.common.util.UnsignedInteger32 |
getFlags() |
boolean |
isTextMode() |
int |
read(byte[] buf,
int off,
int len) |
void |
seek(long longValue) |
void |
write(byte[] buf,
int off,
int len) |
public OpenFile(AbstractFile f, com.sshtools.common.util.UnsignedInteger32 flags) throws java.io.IOException, PermissionDeniedException
java.io.IOExceptionPermissionDeniedExceptionpublic boolean isTextMode()
public void close()
throws java.io.IOException
java.io.IOExceptionpublic int read(byte[] buf,
int off,
int len)
throws java.io.IOException,
PermissionDeniedException
java.io.IOExceptionPermissionDeniedExceptionpublic void write(byte[] buf,
int off,
int len)
throws java.io.IOException,
PermissionDeniedException
java.io.IOExceptionPermissionDeniedExceptionpublic void seek(long longValue)
throws java.io.IOException
java.io.IOExceptionpublic AbstractFile getFile()
public com.sshtools.common.util.UnsignedInteger32 getFlags()
public long getFilePointer()
throws java.io.IOException
java.io.IOExceptionCopyright © 2022. All rights reserved.