com.sshtools.j2ssh.sftp

Class SftpFileInputStream


public class SftpFileInputStream
extends InputStream

Version:
$Revision: 1.16 $
Author:
$author$

Constructor Summary

SftpFileInputStream(SftpFile file)
Creates a new SftpFileInputStream object.

Method Summary

void
close()
protected void
finalize()
int
read()
int
read(byte[] buffer, int offset, int len)

Constructor Details

SftpFileInputStream

public SftpFileInputStream(SftpFile file)
            throws IOException
Creates a new SftpFileInputStream object.
Parameters:
file -

Method Details

close

public void close()
            throws IOException

finalize

protected void finalize()
            throws IOException

read

public int read()
            throws java.io.IOException
Returns:

read

public int read(byte[] buffer,
                int offset,
                int len)
            throws IOException
Parameters:
buffer -
offset -
len -
Returns:

Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.