C# Class Achamenes.ID3.TagBase

Afficher le fichier Open project: sahands/a-id3 Class Usage Examples

Méthodes publiques

Méthode Description
ReadFromFile ( string fileName ) : ID3v2MajorVersion
ReadFromFile ( string fileName, FrameParserFactory frameParserFactory ) : ID3v2MajorVersion
RemoveTag ( string fileName ) : bool

Removes any attached ID3v2 tags attached to the given file. Does not change the ID3v1 tags.

SearchForFrame ( Type frameType ) : Frame
TagBase ( ) : System
WriteToFile ( string fileName, ID3v2MajorVersion version, EncodingScheme encoding ) : void

Private Methods

Méthode Description
CopyFromStreamToStream ( Stream sourceStream, Stream destStream ) : void
GetBackupFileName ( string fileName ) : string
GetTempIntermediateFileName ( string fileName ) : string
RaiseReadingWarning ( NonFatalException exception, string frameID ) : void
RaiseWritingWarning ( NonFatalException exception, Frame frameBeingWritten ) : void
Read ( Stream stream, FrameParserFactory frameParserFactory ) : ID3v2MajorVersion
WriteFrame ( Frame frame, Stream stream, ID3v2MajorVersion version, EncodingScheme encoding ) : void
WriteFrames ( Stream stream, ID3v2MajorVersion version, EncodingScheme encoding ) : void

Method Details

ReadFromFile() public méthode

public ReadFromFile ( string fileName ) : ID3v2MajorVersion
fileName string
Résultat ID3v2MajorVersion

ReadFromFile() public méthode

public ReadFromFile ( string fileName, FrameParserFactory frameParserFactory ) : ID3v2MajorVersion
fileName string
frameParserFactory FrameParserFactory
Résultat ID3v2MajorVersion

RemoveTag() public static méthode

Removes any attached ID3v2 tags attached to the given file. Does not change the ID3v1 tags.
public static RemoveTag ( string fileName ) : bool
fileName string Full path of the file whose tags are to be removed.
Résultat bool

SearchForFrame() public méthode

public SearchForFrame ( Type frameType ) : Frame
frameType Type
Résultat Frame

TagBase() public méthode

public TagBase ( ) : System
Résultat System

WriteToFile() public méthode

public WriteToFile ( string fileName, ID3v2MajorVersion version, EncodingScheme encoding ) : void
fileName string
version ID3v2MajorVersion
encoding EncodingScheme
Résultat void