C# 클래스 Achamenes.ID3.Frames.Parsers.FrameParser

Base class for all frame parsers.
파일 보기 프로젝트 열기: sahands/a-id3 1 사용 예제들

공개 메소드들

메소드 설명
Parse ( System stream, ID3v2MajorVersion version, FrameParserFactory parserFactory, string &frameID ) : Frame

This function parses the next frame from the stream and returns it.

보호된 메소드들

메소드 설명
ParseFrame ( byte data ) : Frame

When implemented in a derived class, parses a Frame out of the given byte array.

메소드 상세

Parse() 공개 정적인 메소드

This function parses the next frame from the stream and returns it.
/// Thrown if the FrameParserFactory object passed did not recognize the Frame ID for the given version. ///
public static Parse ( System stream, ID3v2MajorVersion version, FrameParserFactory parserFactory, string &frameID ) : Frame
stream System The stream to parse the Frame from.
version ID3v2MajorVersion The ID3 v2 Major version of the ID3 tag that the stream is reading.
parserFactory FrameParserFactory A FrameParserFactory to use to create FrameParsers based on Frame IDs.
frameID string Output: outputs the frameID of the frame just parsed.
리턴 Frame

ParseFrame() 보호된 추상적인 메소드

When implemented in a derived class, parses a Frame out of the given byte array.
protected abstract ParseFrame ( byte data ) : Frame
data byte
리턴 Frame