All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.starla.lite.SMBCoreFile

java.lang.Object
   |
   +----com.starla.lite.SMBFile
           |
           +----com.starla.lite.SMBCoreFile

public class SMBCoreFile
extends SMBFile
SMB core file class


Method Index

 o Close()
Close the remote file.
 o Flush()
Flush data to the remote file.
 o Read(byte[], int, int)
Read a block of data from the file.
 o Write(byte[], int, int)
Write a block of data to the file.

Methods

 o Close
 public void Close() throws IOException
Close the remote file.

Throws: IOException
If an I/O error occurs
Overrides:
Close in class SMBFile
 o Flush
 public void Flush() throws IOException
Flush data to the remote file.

Throws: IOException
If an I/O error occurs
Overrides:
Flush in class SMBFile
 o Read
 public int Read(byte buf[],
                 int siz,
                 int offset) throws IOException
Read a block of data from the file.

Parameters:
buf - Byte buffer to receive the data.
siz - Maximum length of data to receive.
offset - Offset within buffer to place received data.
Returns:
Actual length of data received.
Throws: IOException
If an I/O error occurs
Overrides:
Read in class SMBFile
 o Write
 public int Write(byte buf[],
                  int siz,
                  int offset) throws IOException
Write a block of data to the file.

Parameters:
buf - Byte buffer containing data to be written.
siz - Length of data to be written.
offset - Offset within buffer to start writing data from.
Returns:
Actual length of data written.
Throws: IOException
If an I/O error occurs
Overrides:
Write in class SMBFile

All Packages  Class Hierarchy  This Package  Previous  Next  Index