Package | Description |
---|---|
org.jaudiotagger.tag.id3 |
Classes for all flavors of ID3.
|
org.jaudiotagger.tag.lyrics3 |
Implementation of ID3 frames that follow the lyrics3 pattern, not restricted to lyrics.
|
Modifier and Type | Class and Description |
---|---|
class |
ID3v22Frame
Represents an ID3v2.2 frame.
|
class |
ID3v23Frame
Represents an ID3v2.3 frame.
|
class |
ID3v24Frame
Represents an ID3v2.4 frame.
|
Modifier and Type | Field and Description |
---|---|
protected Set<AbstractID3v2Frame> |
AggregatedFrame.frames |
Modifier and Type | Method and Description |
---|---|
abstract AbstractID3v2Frame |
AbstractID3v2Tag.createFrame(String id)
Create Frame of correct ID3 version with the specified id
|
AbstractID3v2Frame |
AbstractID3v2Tag.getFirstField(String identifier)
Retrieve the first tag field that exists for this identifier
|
Modifier and Type | Method and Description |
---|---|
protected abstract List<AbstractID3v2Frame> |
AbstractID3v2Tag.convertFrame(AbstractID3v2Frame frame)
Convert the frame to the correct frame(s)
|
protected List<AbstractID3v2Frame> |
ID3v22Tag.convertFrame(AbstractID3v2Frame frame) |
protected List<AbstractID3v2Frame> |
ID3v23Tag.convertFrame(AbstractID3v2Frame frame) |
protected List<AbstractID3v2Frame> |
ID3v24Tag.convertFrame(AbstractID3v2Frame frame)
Convert frame into ID3v24 frame(s)
|
Set<AbstractID3v2Frame> |
AggregatedFrame.getFrames() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractID3v2Tag.addFrame(AbstractID3v2Frame frame)
Add the frame converted to the correct version
|
void |
AggregatedFrame.addFrame(AbstractID3v2Frame frame) |
void |
ID3v22Tag.addFrame(AbstractID3v2Frame frame) |
void |
ID3v23Tag.addFrame(AbstractID3v2Frame frame) |
void |
ID3v24Tag.addFrame(AbstractID3v2Frame frame)
Copy the frame
If the frame is already an ID3v24 frame we can add as is, if not we need to convert
to id3v24 frame(s)
|
protected abstract List<AbstractID3v2Frame> |
AbstractID3v2Tag.convertFrame(AbstractID3v2Frame frame)
Convert the frame to the correct frame(s)
|
protected List<AbstractID3v2Frame> |
ID3v22Tag.convertFrame(AbstractID3v2Frame frame) |
protected List<AbstractID3v2Frame> |
ID3v23Tag.convertFrame(AbstractID3v2Frame frame) |
protected List<AbstractID3v2Frame> |
ID3v24Tag.convertFrame(AbstractID3v2Frame frame)
Convert frame into ID3v24 frame(s)
|
protected void |
AbstractID3v2Tag.copyFrameIntoMap(String id,
AbstractID3v2Frame newFrame)
Copy frame into map, whilst accounting for multiple frame of same type which can occur even if there were
not frames of the same type in the original tag
|
protected void |
AbstractID3v2Tag.loadFrameIntoMap(String frameId,
AbstractID3v2Frame next)
Add frame to the frame map
|
protected void |
ID3v22Tag.loadFrameIntoMap(String frameId,
AbstractID3v2Frame next) |
protected void |
ID3v23Tag.loadFrameIntoMap(String frameId,
AbstractID3v2Frame next) |
protected void |
AbstractID3v2Tag.loadFrameIntoSpecifiedMap(HashMap map,
String frameId,
AbstractID3v2Frame next)
Decides what to with the frame that has just been read from file.
|
protected void |
ID3v23Tag.loadFrameIntoSpecifiedMap(HashMap map,
String frameId,
AbstractID3v2Frame frame) |
void |
AbstractID3v2Tag.mergeDuplicateFrames(AbstractID3v2Frame newFrame,
List<AbstractID3v2Frame> frames)
Add frame taking into account existing frames of the same type
|
void |
AbstractID3v2Tag.mergeNumberTotalFrames(AbstractID3v2Frame newFrame,
AbstractID3v2Frame nextFrame)
All Number/Count frames are treated the same (TCK, TPOS, MVNM)
|
protected void |
AbstractID3v2Tag.processDuplicateFrame(AbstractID3v2Frame newFrame,
AbstractID3v2Frame existingFrame)
If frame already exists default behaviour is to just add another one, but can be overrridden if
special handling required
|
protected void |
ID3v23Tag.processDuplicateFrame(AbstractID3v2Frame newFrame,
AbstractID3v2Frame existingFrame)
Override to merge TIPL/TMCL into single IPLS frame
|
protected void |
ID3v24Tag.processDuplicateFrame(AbstractID3v2Frame newFrame,
AbstractID3v2Frame existingFrame)
Two different frames both converted to TDRCFrames, now if this is the case one of them
may have actually have been created as a FrameUnsupportedBody because TDRC is only
supported in ID3v24, but is often created in v23 tags as well together with the valid TYER
frame OR it might be that we have two v23 frames that map to TDRC such as TYER,TIME or TDAT
|
void |
AbstractID3v2Tag.setFrame(AbstractID3v2Frame frame)
Add a frame to this tag
|
protected void |
ID3v22Tag.translateFrame(AbstractID3v2Frame frame)
This is used when we need to translate a single frame into multiple frames,
currently required for TDRC frames.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractID3v2Tag.mergeDuplicateFrames(AbstractID3v2Frame newFrame,
List<AbstractID3v2Frame> frames)
Add frame taking into account existing frames of the same type
|
void |
AbstractID3v2Tag.setFrame(String identifier,
List<AbstractID3v2Frame> multiFrame)
Used for setting multiple frames for a single frame Identifier
Warning if frame(s) already exists for this identifier they are overwritten
TODO needs to ensure do not add an invalid frame for this tag
|
Constructor and Description |
---|
AbstractID3v2Frame(AbstractID3v2Frame frame)
Create a frame based on another frame
|
ID3v22Frame(AbstractID3v2Frame frame)
Creates a new ID3v22 Frame from another frame of a different tag version
|
ID3v23Frame(AbstractID3v2Frame frame)
Creates a new ID3v23Frame based on another frame of a different version.
|
ID3v24Frame(AbstractID3v2Frame frame)
Creates a new ID3v24 frame datatype based on another frame of different version
Converts the framebody to the equivalent v24 framebody or to UnsupportedFrameBody if identifier
is unknown.
|
Constructor and Description |
---|
Lyrics3v2Field(AbstractID3v2Frame frame)
Creates a new Lyrics3v2Field datatype.
|
Copyright © 2005–2020 jthink.net. All rights reserved.