C/C++ User's Journal Synesis Software STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ... ATLSTL - where the Standard Template Library meets the Active Template Library COMSTL - where the Standard Template Library meets the Component Object Model InetSTL - where the Standard Template Library meets the Internet UNIXSTL - Template Software for the UNIX Operating System WinSTL - where the Standard Template Library meets the Win32 API

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Search Class Reference

This class represents a recursive search. More...

Inheritance diagram for Search:

FileSearch FtpSearch List of all members.

Public Methods

native String[] getRoots ()
 Returns an array of the roots for the current system.

native void close ()
 Releases the resources owned by the search.

void finalize ()
 Releases the resources owned by the search.

final boolean hasMoreElements ()
 Tests if this enumeration contains more elements.

final Object nextElement ()
 Returns the next element of this enumeration if this enumeration object has at least one more element to provide.


Static Public Attributes

final int RECLS_F_FILES = 0x00000001
 Constants.

final int RECLS_F_DIRECTORIES = 0x00000002
final int RECLS_F_LINKS = 0x00000004
final int RECLS_F_DEVICES = 0x00000008
final int RECLS_F_RECURSIVE = 0x00010000
final int RECLS_F_NO_FOLLOW_LINKS = 0x00020000
final int RECLS_F_DIRECTORY_PARTS = 0x00040000
final int RECLS_F_DETAILS_LATER = 0x00080000
final int RECLS_F_PASSIVE_FTP = 0x00100000

Static Protected Attributes

int m_hSearch
 Members.


Detailed Description

This class represents a recursive search.


Member Function Documentation

native void close  
 

Releases the resources owned by the search.

void finalize   [inline]
 

Releases the resources owned by the search.

native String [] getRoots  
 

Returns an array of the roots for the current system.

final boolean hasMoreElements   [inline]
 

Tests if this enumeration contains more elements.

final Object nextElement   [inline]
 

Returns the next element of this enumeration if this enumeration object has at least one more element to provide.

Note:
This throws java.lang.NoSuchElementException if hasMoreElements() would return false.


Member Data Documentation

int m_hSearch [static, protected]
 

Members.

final int RECLS_F_DETAILS_LATER = 0x00080000 [static]
 

Does not fill out anything other than the path. Not currently supported.

final int RECLS_F_DEVICES = 0x00000008 [static]
 

Include devices in search. Not currently supported.

final int RECLS_F_DIRECTORIES = 0x00000002 [static]
 

Include directories in search. Not currently supported.

final int RECLS_F_DIRECTORY_PARTS = 0x00040000 [static]
 

Fills out the directory parts. Supported from version 1.1.1 onwards.

final int RECLS_F_FILES = 0x00000001 [static]
 

Constants.

Include files in search. Included by default if none specified

final int RECLS_F_LINKS = 0x00000004 [static]
 

Include links in search. Ignored in Win32.

final int RECLS_F_NO_FOLLOW_LINKS = 0x00020000 [static]
 

Does not expand links

final int RECLS_F_PASSIVE_FTP = 0x00100000 [static]
 

Passive mode in FTP

final int RECLS_F_RECURSIVE = 0x00010000 [static]
 

Searches given directory and all sub-directories


The documentation for this class was generated from the following file:

recls Library documentation © Synesis Software Pty Ltd, 2001-2004