This class converts the fields (frames) from {@linkplain entagged.audioformats.mp3.Id3v2Tag tags} from an older to a newerversion.
The best way to describe its function is to show an example:
Let's convert an Id3v2.3 tag into the version 2.4 and illustrate the need of a special handler (like this class).
A major change in the version switch 2.3->2.4 occured on the information of the recording time.
To represent a fully qualified date and time for that in the Id3v2.4 you will just need the field (frame) "TDRC" which is a textfield containing formatted date-time description. It allows mulitple time-patterns to be used, the most accurate variation is "yyyy-MM-ddTHH:mm:ss" with "THH" representing the hour out of 24.
For the same information you need three different fields (frames) with Id3v2.3. They are
- TIME: "HHMM" storing the time whithin the recorded day
- TDAT: "DDMM" storing the date whithin the year
- TYER: "yyyy" storing the year
So you see, If we want to convert this recoding time, we can't just simply convert the names of the field. We must collect information and join the data.
Who knows what else must be handled.
@author Christian Laireiter