|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE concept |
|
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
|
12 <concept id="GUID-05E27705-47E5-5B27-849A-D2A6BA4F40E5" xml:lang="en"><title>Filenames: |
|
13 Parsing Filenames</title><shortdesc>Describes an example extracting information from file paths.</shortdesc><prolog><metadata><keywords/></metadata></prolog><conbody> |
|
14 <section id="GUID-D2241610-5D6A-4D8F-B8D0-012BFEB180E0"><title>Download</title><p>Click on the following link to download |
|
15 the example: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-0d7c2d5f-c141-4f81-a031-5474f5ce7b2a.zip" scope="external">Filenames.zip</xref></p><p>Click on the following link to |
|
16 download additional files: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-4184e6d4-8dbe-4267-b1a3-8737c8bf64ce.zip" scope="external">CommonFramework.zip</xref></p><p>Browse <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-0d7c2d5f-c141-4f81-a031-5474f5ce7b2a.html" scope="peer">Filenames</xref> to view the example code.</p><p>Browse <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-4184e6d4-8dbe-4267-b1a3-8737c8bf64ce.html" scope="peer">CommonFramework</xref> to view additional files.</p></section> |
|
17 <section id="GUID-F1C9DA0D-1FA5-4BC8-8650-DB96A631870C"><title>Class summary</title><p><xref href="GUID-E79A3B03-F8CB-37DB-A2A8-1C6C4E4D739A.dita"><apiname>TParse</apiname></xref> <xref href="GUID-DBF41E9E-3A6B-3868-B02C-48A398E7D14D.dita"><apiname>TFileName</apiname></xref> <xref href="GUID-E263C747-946F-35AA-9F1D-41833BD350FC.dita"><apiname>RFs</apiname></xref> </p></section> |
|
18 <section id="GUID-B629A708-ED70-4A12-9057-D4B7E0E7655A"><title>Description</title><p><codeph>Filenames</codeph> demonstrates |
|
19 using class <xref href="GUID-E79A3B03-F8CB-37DB-A2A8-1C6C4E4D739A.dita"><apiname>TParse</apiname></xref> how to parse, interrogate and extract |
|
20 components from filenames. Using a single path name, it shows a simple parse |
|
21 using <xref href="GUID-E79A3B03-F8CB-37DB-A2A8-1C6C4E4D739A.dita#GUID-E79A3B03-F8CB-37DB-A2A8-1C6C4E4D739A/GUID-80119164-D1F3-338A-8C61-22F3C1D98441"><apiname>TParse::Set()</apiname></xref>, and how the components of the path |
|
22 name are retrieved. It then illustrates parsing using <xref href="GUID-E263C747-946F-35AA-9F1D-41833BD350FC.dita#GUID-E263C747-946F-35AA-9F1D-41833BD350FC/GUID-27FB1392-2A1D-3A02-99C5-BA2D3893E1BD"><apiname>RFs::Parse()</apiname></xref> with |
|
23 default and related paths. </p> </section> |
|
24 </conbody></concept> |