public class SftpFileInputStream
extends java.io.InputStream
Constructor and Description |
---|
SftpFileInputStream(SftpFile file)
Creates a new SftpFileInputStream object.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
finalize() |
int |
read() |
int |
read(byte[] buffer,
int offset,
int len) |
public SftpFileInputStream(SftpFile file) throws java.io.IOException
file
- java.io.IOException
public int read(byte[] buffer, int offset, int len) throws java.io.IOException
read
in class java.io.InputStream
buffer
- offset
- len
- java.io.IOException
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.InputStream
java.io.IOException
protected void finalize() throws java.io.IOException
finalize
in class java.lang.Object
java.io.IOException
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.