public class SftpFileArchiveInputStream extends FileInputStream implements ErrorOccurredDecorator
Constructor and Description |
---|
SftpFileArchiveInputStream(File file) |
SftpFileArchiveInputStream(File file,
File archiveFile) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
setErrorOccurred() |
available, finalize, getChannel, getFD, skip
mark, markSupported, reset
public SftpFileArchiveInputStream(File file) throws FileNotFoundException
FileNotFoundException
public SftpFileArchiveInputStream(File file, File archiveFile) throws FileNotFoundException
FileNotFoundException
public int read() throws IOException
read
in class FileInputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class FileInputStream
IOException
public int read(byte[] b) throws IOException
read
in class FileInputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FileInputStream
IOException
public void setErrorOccurred()
setErrorOccurred
in interface ErrorOccurredDecorator
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.