Internet Direct (Indy)
Home
PreviousUpNext
TIdFTPRegParseList.ParseListing Method

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

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.