class ID3v24Frame.StatusFlags extends AbstractID3v2Frame.StatusFlags
Modifier and Type | Field and Description |
---|---|
static int |
MASK_FILE_ALTER_PRESERVATION
Discard frame if audio part of file altered
|
static int |
MASK_READ_ONLY
Frame tagged as read only
|
static int |
MASK_TAG_ALTER_PRESERVATION
Discard frame if tag altered
|
static java.lang.String |
TYPE_FILEALTERPRESERVATION |
static java.lang.String |
TYPE_READONLY |
static java.lang.String |
TYPE_TAGALTERPRESERVATION |
originalFlags, TYPE_FLAGS, writeFlags
Constructor and Description |
---|
ID3v24Frame.StatusFlags()
Use this when creating a frame from scratch
|
ID3v24Frame.StatusFlags(byte flags)
Use this constructor when reading from file or from another v4 frame
|
ID3v24Frame.StatusFlags(ID3v23Frame.StatusFlags statusFlags)
Use this constructor when convert a v23 frame
|
Modifier and Type | Method and Description |
---|---|
private byte |
convertV3ToV4Flags(byte v3Flag)
Convert V3 Flags to equivalent V4 Flags
|
void |
createStructure() |
protected void |
modifyFlags()
Makes modifications to flags based on specification and frameid
|
equals, getOriginalFlags, getWriteFlags
public static final java.lang.String TYPE_TAGALTERPRESERVATION
public static final java.lang.String TYPE_FILEALTERPRESERVATION
public static final java.lang.String TYPE_READONLY
public static final int MASK_TAG_ALTER_PRESERVATION
public static final int MASK_FILE_ALTER_PRESERVATION
public static final int MASK_READ_ONLY
ID3v24Frame.StatusFlags()
ID3v24Frame.StatusFlags(byte flags)
flags
- ID3v24Frame.StatusFlags(ID3v23Frame.StatusFlags statusFlags)
statusFlags
- private byte convertV3ToV4Flags(byte v3Flag)
v3Flag
- protected void modifyFlags()
public void createStructure()
createStructure
in class AbstractID3v2Frame.StatusFlags
Copyright © 2005-2013 java.net. All Rights Reserved.