Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sshtools.j2ssh.sftp
Class SftpFileInputStream

    java.lang.Object
      java.io.InputStream
          com.sshtools.j2ssh.sftp.SftpFileInputStream

public class SftpFileInputStream
extends java.io.InputStream

DOCUMENT ME!

Constructor Summary
`SftpFileInputStream(SftpFile file)` Creates a new SftpFileInputStream object.

Method Summary
`void` | `close()` DOCUMENT ME!
`protected void` | `finalize()` DOCUMENT ME!
`int` | `read()` DOCUMENT ME!
`int` | `read(byte[] buffer, int offset, int len)` DOCUMENT ME!

Methods inherited from class java.io.InputStream
`available, mark, markSupported, read, reset, skip`

Methods inherited from class java.lang.Object
`clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SftpFileInputStream

    public SftpFileInputStream(SftpFile file)
                        throws java.io.IOException

  Creates a new SftpFileInputStream object.

Parameters:
  `file` - DOCUMENT ME!
Throws:
  `java.io.IOException` - DOCUMENT ME!

Method Detail

### read

    public int read(byte[] buffer,
                    int offset,
                    int len)
             throws java.io.IOException

  DOCUMENT ME!

  Parameters:
    `buffer` - DOCUMENT ME!
    `offset` - DOCUMENT ME!
    `len` - DOCUMENT ME!
  Returns:
    DOCUMENT ME!
  Throws:
    `java.io.IOException` - DOCUMENT ME!

### read

    public int read()
             throws java.io.IOException

  DOCUMENT ME!

  Returns:
    DOCUMENT ME!
  Throws:
    `java.io.IOException` - DOCUMENT ME!

### close

    public void close()
               throws java.io.IOException

  DOCUMENT ME!

  Throws:
    `java.io.IOException` - DOCUMENT ME!

### finalize

    protected void finalize()
                     throws java.io.IOException

  DOCUMENT ME!

  Throws:
    `java.io.IOException` - DOCUMENT ME!

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD