C# Class Achamenes.ID3.Frames.TrackTextFrame

Inheritance: TextFrame
Afficher le fichier Open project: sahands/a-id3

Méthodes publiques

Méthode Description
CreateParser ( ID3v2MajorVersion version, string frameID ) : Achamenes.ID3.Frames.Parsers.FrameParser

Creates a FrameParser class for the given version and frameID.

CreateWriter ( ID3v2MajorVersion version, EncodingScheme encoding ) : Achamenes.ID3.Frames.Writers.FrameWriter

TrackTextFrame ( int trackNumber ) : System

Initializes a new instance of TrackTextFrame

TrackTextFrame ( int trackNumber, int totalTracks ) : System

Initializes a new instance of TrackTextFrame

TrackTextFrame ( string text ) : System

Initializes a new instance of TrackTextFrame

The given value should be in the trackNumber[/totalTracks] format. See examples below for more details.

Méthodes protégées

Méthode Description
Parse ( ) : void

Parses this.Text and extracts the TrackNumber and TotalTracks numbers out of it.

Validate ( string value ) : void

Parses the given string value and throws exceptions if it is an invalid text value for a track frame.

Method Details

CreateParser() public static méthode

Creates a FrameParser class for the given version and frameID.
public static CreateParser ( ID3v2MajorVersion version, string frameID ) : Achamenes.ID3.Frames.Parsers.FrameParser
version ID3v2MajorVersion ID3 v2 major version to create the parser for.
frameID string The frame ID of the frame to be parsed.
Résultat Achamenes.ID3.Frames.Parsers.FrameParser

CreateWriter() public méthode

public CreateWriter ( ID3v2MajorVersion version, EncodingScheme encoding ) : Achamenes.ID3.Frames.Writers.FrameWriter
version ID3v2MajorVersion ID3 v2 major version to create the writer for.
encoding EncodingScheme The encoding scheme to use for writing encoded text fields.
Résultat Achamenes.ID3.Frames.Writers.FrameWriter

Parse() protected méthode

Parses this.Text and extracts the TrackNumber and TotalTracks numbers out of it.
protected Parse ( ) : void
Résultat void

TrackTextFrame() public méthode

Initializes a new instance of TrackTextFrame
public TrackTextFrame ( int trackNumber ) : System
trackNumber int Track number.
Résultat System

TrackTextFrame() public méthode

Initializes a new instance of TrackTextFrame
public TrackTextFrame ( int trackNumber, int totalTracks ) : System
trackNumber int Track number.
totalTracks int Total number of tracks.
Résultat System

TrackTextFrame() public méthode

Initializes a new instance of TrackTextFrame
The given value should be in the trackNumber[/totalTracks] format. See examples below for more details.
/// The given text value was not in correct format. ///
public TrackTextFrame ( string text ) : System
text string /// Text string describing the frame. ///
Résultat System

Validate() protected méthode

Parses the given string value and throws exceptions if it is an invalid text value for a track frame.
protected Validate ( string value ) : void
value string
Résultat void