package Audio::TagLib::ID3v2::CommentsFrame; use 5.008003; use strict; use warnings; our $VERSION = '1.41'; use Audio::TagLib; our @ISA = qw(Audio::TagLib::ID3v2::Frame); # Preloaded methods go here. 1; __END__ # Below is stub documentation for your module. You'd better edit it! =head1 NAME Audio::TagLib::ID3v2::CommentsFrame - An implementation of ID3v2 comments =head1 SYNOPSIS use Audio::TagLib::ID3v2::CommentsFrame; my $i = Audio::TagLib::ID3v2::CommentsFrame->new("Latin1"); $i->setText(Audio::TagLib::String->new("blah blah blah")); =head1 DESCRIPTION This implements the ID3v2 comment format. An ID3v2 comment concists of a language encoding, a description and a single text field. =over =item I Construct an empty comment frame that will use the text encoding $encoding. =item I $data)> Construct a comment based on the data in $data. =item I Destroys this CommentFrame instance. =item I toString()> Returns the text of this comment. see I =item I language()> Returns the language encoding as a 3 byte encoding as specified by ISO-639-2 F B Most taggers simply ignore this value. see I =item I description()> Returns the description of this comment. B Most taggers simply ignore this value. see I =item I text()> Returns the text of this comment. see I =item I $languageCode)> Set the language using the 3 byte language code from ISO-639-2 F to $languageCode. see I =item I $s)> Sets the description of the comment to $s. see I =item I $s)> Sets the text portion of the comment to $s. see I =item I Returns the text encoding that will be used in rendering this frame. This defaults to the type that was either specified in the constructor or read from the frame when parsed. see I see I =item I Sets the text encoding to be used when rendering this frame to $encoding. see I see I =back =head2 EXPORT None by default. =head1 SEE ALSO L L =head1 AUTHOR Dongxu Ma, Edongxu@cpan.orgE =head1 COPYRIGHT AND LICENSE Copyright (C) 2005 by Dongxu Ma This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available. =cut