Topic Path: Symbol Reference > Classes > TIdFTPRegParseList Class > TIdFTPRegParseList Methods > ParseListing Method
ContentsIndexHome
PreviousUpNext
TIdFTPRegParseList.ParseListing Method

Parses text in a directory listing into the structured directory listing container.

function ParseListing(
    AListing: TIdStrings; 
    ADir: TIdFTPListItems; 
    const AFormatID: String
): boolean; virtual;
Parameters 
Description 
AListing 
Tesxt to parse using the parser class.
 
ADir 
COntainer for the structured directory listing.
 
AFormatID 
Identifier for the list parser class. 

boolean -True on success.

ParseListing is a virtual Boolean function used to parse the text in a directory listing into the structured directory listing container. 

ParseListing clears any existing entries in the ADir argument prior to parsing the text in AListing using the parser class specified in AFormatID. 

ParseListing calls the ParseListing method in the TIdFTPListParserBase class toperform the actual parsing of values stored in AListing.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.