C# Class ID3.ID3v2

显示文件 Open project: jasine/SaveDouban Class Usage Examples

Private Properties

Property Type Description
AddError void
AddFrame bool
FormulaFileName string
Initializer void
IsAddable bool
LoadFrameFromFile void
ReadFrames void
SaveRestOfFile void
WriteID3Header void

Public Methods

Method Description
ClearAll ( ) : void

Clear all ID3 Tag information

GetTextFrame ( string FrameID ) : string

Search TextFrames for specific FrameID

ID3v2 ( string FilePath, bool LoadData ) : System

Create new ID3v2 class for specific file

Load ( ) : void

Load ID3 information from file

LoadAllLinkedFrames ( ) : void

Load all linked information frames

Save ( ) : void

Save ID3v2 data without renaming file with minor version of 3

Save ( int Ver ) : void

Save ID3 info to file

Save ( int Ver, string Formula ) : void

Save ID3 info to file

SetMinorVersion ( int ver ) : void

Set minor version of current ID3v2

SetTextFrame ( string FrameID, string Text ) : void

Set text of specific TextFrame

Private Methods

Method Description
AddError ( ID3.ID3Error Error ) : void

Add specific ID3Error to ErrorCollection

AddFrame ( FileStreamEx Data, string FrameID, int Length, FrameFlags Flags ) : bool

Add Frame information to where it must store

FormulaFileName ( string Formula ) : string

Get FileName according to specific formula

Initializer ( ) : void
IsAddable ( string FrameID ) : bool

Indicate can add specific frame according to Filter

LoadFrameFromFile ( string FrameID, string FileAddress ) : void

Load spefic frame information

ReadFrames ( FileStreamEx Data, int Length ) : void

Read all frames from specific FileStream

SaveRestOfFile ( int StartIndex, FileStreamEx Orgin, FileStreamEx Temp, int Ver ) : void
WriteID3Header ( FileStream Data, int Ver ) : void

Method Details

ClearAll() public method

Clear all ID3 Tag information
public ClearAll ( ) : void
return void

GetTextFrame() public method

Search TextFrames for specific FrameID
public GetTextFrame ( string FrameID ) : string
FrameID string FrameID to search in TextFrames
return string

ID3v2() public method

Create new ID3v2 class for specific file
public ID3v2 ( string FilePath, bool LoadData ) : System
FilePath string
LoadData bool Indicate load ID3 in constructor or not
return System

Load() public method

Load ID3 information from file
File Not Found
public Load ( ) : void
return void

LoadAllLinkedFrames() public method

Load all linked information frames
public LoadAllLinkedFrames ( ) : void
return void

Save() public method

Save ID3v2 data without renaming file with minor version of 3
public Save ( ) : void
return void

Save() public method

Save ID3 info to file
public Save ( int Ver ) : void
Ver int minor version of ID3v2
return void

Save() public method

Save ID3 info to file
public Save ( int Ver, string Formula ) : void
Ver int minor version of ID3v2
Formula string Formula to renaming file
return void

SetMinorVersion() public method

Set minor version of current ID3v2
public SetMinorVersion ( int ver ) : void
ver int
return void

SetTextFrame() public method

Set text of specific TextFrame
public SetTextFrame ( string FrameID, string Text ) : void
FrameID string FrameID
Text string Text to set
return void