jcifs.smb
public class SmbFileInputStream extends InputStream
Constructor Summary | |
---|---|
SmbFileInputStream(String url)
Creates an java.io.InputStream for reading bytes from a file on
an SMB server addressed by the url parameter. | |
SmbFileInputStream(SmbFile file)
Creates an java.io.InputStream for reading bytes from a file on
an SMB server represented by the SmbFile parameter. |
Method Summary | |
---|---|
int | available()
This stream class is unbuffered. |
void | close()
Closes this input stream and releases any system resources associated with the stream.
|
int | read()
Reads a byte of data from this input stream.
|
int | read(byte[] b)
Reads up to b.length bytes of data from this input stream into an array of bytes.
|
int | read(byte[] b, int off, int len)
Reads up to len bytes of data from this input stream into an array of bytes.
|
int | readDirect(byte[] b, int off, int len) |
long | skip(long n)
Skip n bytes of data on this stream. |
url
parameter. See SmbFile for a detailed description and examples of the smb
URL syntax.
Parameters: url An smb URL string representing the file to read from
Parameters: file An SmbFile
specifying the file to read from
Throws: IOException if a network error occurs
Throws: IOException if a network error occurs
Throws: IOException if a network error occurs
Throws: IOException if a network error occurs