Package com.sshtools.common.files.vfs
Class PathRandomAccessImpl
java.lang.Object
com.sshtools.common.files.vfs.PathRandomAccessImpl
- All Implemented Interfaces:
com.sshtools.common.files.AbstractFileRandomAccess
@Deprecated(since="3.1.0",
forRemoval=true)
public class PathRandomAccessImpl
extends Object
implements com.sshtools.common.files.AbstractFileRandomAccess
Deprecated, for removal: This API element is subject to removal in a future version.
Deprecated. Use
NioFileFactory
and NioFile
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Path
Deprecated, for removal: This API element is subject to removal in a future version.protected FileChannel
Deprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionPathRandomAccessImpl
(Path f, boolean writeAccess) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Deprecated, for removal: This API element is subject to removal in a future version.long
Deprecated, for removal: This API element is subject to removal in a future version.int
read
(byte[] buf, int off, int len) Deprecated, for removal: This API element is subject to removal in a future version.void
seek
(long position) Deprecated, for removal: This API element is subject to removal in a future version.void
setLength
(long length) Deprecated, for removal: This API element is subject to removal in a future version.void
write
(byte[] buf, int off, int len) Deprecated, for removal: This API element is subject to removal in a future version.void
write
(int b) Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Details
-
raf
Deprecated, for removal: This API element is subject to removal in a future version. -
f
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
PathRandomAccessImpl
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
-
Method Details
-
write
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
write
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
write
in interfacecom.sshtools.common.files.AbstractFileRandomAccess
- Throws:
IOException
-
close
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
close
in interfacecom.sshtools.common.files.AbstractFileRandomAccess
- Throws:
IOException
-
seek
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
seek
in interfacecom.sshtools.common.files.AbstractFileRandomAccess
- Throws:
IOException
-
read
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
read
in interfacecom.sshtools.common.files.AbstractFileRandomAccess
- Throws:
IOException
-
setLength
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setLength
in interfacecom.sshtools.common.files.AbstractFileRandomAccess
- Throws:
IOException
-
getFilePointer
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getFilePointer
in interfacecom.sshtools.common.files.AbstractFileRandomAccess
- Throws:
IOException
-