com.starla.smb
Interface SMBSearchContext
- public abstract interface SMBSearchContext
SMB search context interface
Method Summary |
SMBFileInfo |
nextFileInfo()
Return the next file in this search as an SMB file information object. |
java.lang.String |
nextFileName()
Return the next file name in this search. |
void |
StartSearch(java.lang.String fname,
int attr)
Start a new search using the specified file name string and search attributes |
nextFileInfo
public SMBFileInfo nextFileInfo()
throws java.io.IOException
- Return the next file in this search as an SMB file information object.
- Returns:
- SMBFileInfo object, or null if there are no more files.
- Throws:
- java.io.IOException - If an I/O error occurs.
nextFileName
public java.lang.String nextFileName()
throws java.io.IOException
- Return the next file name in this search.
- Returns:
- Next file name string, or null if there are no more files.
- Throws:
- java.io.IOException - If an I/O error occurs.
StartSearch
public void StartSearch(java.lang.String fname,
int attr)
throws java.io.IOException
- Start a new search using the specified file name string and search attributes
- Parameters:
fname
- File name string, may contain wilcards.attr
- File attributes bit mask.- Throws:
- java.io.IOException - If an I/O error occurs.