7 Nokia Corporation - initial contribution. |
7 Nokia Corporation - initial contribution. |
8 Contributors: |
8 Contributors: |
9 --> |
9 --> |
10 <!DOCTYPE concept |
10 <!DOCTYPE concept |
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
12 <concept xml:lang="en" id="GUID-5B50E929-5C29-5920-965E-24F6CB616AC9"><title>Management and searching</title><prolog><metadata><keywords/></metadata></prolog><conbody><p>These classes provide high level file system functions which can operate on files and directories located throughout a directory hierarchy and which can take some time to complete.</p> <p>The classes provide services to:</p> <ul><li id="GUID-9B28F1D4-CE2A-5037-BE14-55B69403390B"><p>scan through a hierarchy, upwards or downwards, returning a filtered list of the entries contained in each directory</p> </li> <li id="GUID-CFDED758-5F8C-5DF1-83A7-B6774E9243D3"><p>carry out file management operations on files and directories in the hierarchy, for example, deleting an entire directory structure or moving a group of files</p> </li> <li id="GUID-6B959F2A-B707-5F12-9BCD-C70CA33C9126"><p>search for each occurrence of a filename in one or more directories.</p> </li> </ul> <p>File management is provided by <codeph>CFileMan</codeph> class. Its functions may operate recursively or non-recursively and accept the use of wildcards. Synchronous and asynchronous variants are provided for each of these functions and the use of the <codeph>MFileManObserver</codeph> protocol allows user notification to take place during the operation.</p> <p><codeph>TFindFile</codeph> and <codeph>CFileMan</codeph> classes support the use of wildcard characters. An asterisk indicates any number of characters, and a question mark indicates a single character. Note that in the context of these classes, <codeph>*</codeph> and <codeph>*.*</codeph> are equivalent and match to all files, with and without extensions. Filename matching is case insensitive.</p> <p>Before using any of these classes, a connection to a file server session must have been made and is passed to the constructor of the class. </p> </conbody></concept> |
12 <concept id="GUID-5B50E929-5C29-5920-965E-24F6CB616AC9" xml:lang="en"><title>Management |
|
13 and searching</title><shortdesc>This topic describes the classes that provide high |
|
14 level file system functions which can operate on files and directories located |
|
15 throughout a directory hierarchy and which can take some time to complete.</shortdesc><prolog><metadata><keywords/></metadata></prolog><conbody> |
|
16 <p>The classes provide services to:</p> |
|
17 <ul> |
|
18 <li id="GUID-9B28F1D4-CE2A-5037-BE14-55B69403390B"><p>scan through a hierarchy, |
|
19 upwards or downwards, returning a filtered list of the entries contained in |
|
20 each directory</p> </li> |
|
21 <li id="GUID-CFDED758-5F8C-5DF1-83A7-B6774E9243D3"><p>carry out file management |
|
22 operations on files and directories in the hierarchy, for example, deleting |
|
23 an entire directory structure or moving a group of files</p> </li> |
|
24 <li id="GUID-6B959F2A-B707-5F12-9BCD-C70CA33C9126"><p>search for each occurrence |
|
25 of a filename in one or more directories.</p> </li> |
|
26 </ul> |
|
27 <p>File management is provided by <codeph>CFileMan</codeph> class. Its functions |
|
28 may operate recursively or non-recursively and accept the use of wildcards. |
|
29 Synchronous and asynchronous variants are provided for each of these functions |
|
30 and the use of the <codeph>MFileManObserver</codeph> protocol allows user |
|
31 notification to take place during the operation.</p> |
|
32 <p><codeph>TFindFile</codeph> and <codeph>CFileMan</codeph> classes support |
|
33 the use of wildcard characters. An asterisk indicates any number of characters, |
|
34 and a question mark indicates a single character. Note that in the context |
|
35 of these classes, <codeph>*</codeph> and <codeph>*.*</codeph> are equivalent |
|
36 and match to all files, with and without extensions. Filename matching is |
|
37 case insensitive.</p> |
|
38 <p>Before using any of these classes, a connection to a file server session |
|
39 must have been made and is passed to the constructor of the class. </p> |
|
40 </conbody></concept> |