C# 클래스 System.Net.FtpClient.FtpListItem

Represents a file system object on the server
상속: IFtpListItem
파일 보기 프로젝트 열기: PrezzaTechnologies/Developer-Samples 1 사용 예제들

Private Properties

프로퍼티 타입 설명
InitParsers void
ParseDosList FtpListItem
ParseMachineList FtpListItem
ParseUnixList FtpListItem
ParseVaxList FtpListItem

공개 메소드들

메소드 설명
AddParser ( Parser parser ) : void

Adds a custom parser

ClearParsers ( ) : void

Removes all parser delegates

Parse ( string path, string buf, FtpCapability capabilities ) : FtpListItem

Parses a line from a file listing using the first successful match in the Parsers collection.

RemoveParser ( Parser parser ) : void

Removes the specified parser

ToString ( ) : string

Returns a string representation of this object and its properties

비공개 메소드들

메소드 설명
InitParsers ( ) : void

Initalizes the default list of parsers

ParseDosList ( string buf, FtpCapability capabilities ) : FtpListItem

Parses IIS DOS format listings

ParseMachineList ( string buf, FtpCapability capabilities ) : FtpListItem

Parses MLS* format listings

ParseUnixList ( string buf, FtpCapability capabilities ) : FtpListItem

Parses LIST format listings

ParseVaxList ( string buf, FtpCapability capabilities ) : FtpListItem

메소드 상세

AddParser() 공개 정적인 메소드

Adds a custom parser
public static AddParser ( Parser parser ) : void
parser Parser The parser delegate to add
리턴 void

ClearParsers() 공개 정적인 메소드

Removes all parser delegates
public static ClearParsers ( ) : void
리턴 void

Parse() 공개 정적인 메소드

Parses a line from a file listing using the first successful match in the Parsers collection.
public static Parse ( string path, string buf, FtpCapability capabilities ) : FtpListItem
path string The source path of the file listing
buf string A line from the file listing
capabilities FtpCapability Server capabilities
리턴 FtpListItem

RemoveParser() 공개 정적인 메소드

Removes the specified parser
public static RemoveParser ( Parser parser ) : void
parser Parser The parser delegate to remove
리턴 void

ToString() 공개 메소드

Returns a string representation of this object and its properties
public ToString ( ) : string
리턴 string