FileDocCategorySizeDatePackage
ID3v2FrameFlags.javaAPI DocMyID3 for Android3438Tue Oct 07 11:15:24 BST 2008org.cmc.music.myid3

ID3v2FrameFlags

public class ID3v2FrameFlags extends Object implements MyID3v2Constants

Fields Summary
public static final String
TAG_ALTER_PRESERVATION
public static final String
FILE_ALTER_PRESERVATION
public static final String
READ_ONLY
public static final String
GROUPING_IDENTITY
public static final String
COMPRESSION
public static final String
ENCRYPTION
public static final String
UNSYNCHRONISATION
public static final String
DATA_LENGTH_INDICATOR
private boolean
tagAlterPreservation
private boolean
fileAlterPreservation
private boolean
readOnly
private boolean
groupingIdentity
private boolean
compression
private boolean
encryption
private boolean
unsynchronisation
private boolean
dataLengthIndicator
Constructors Summary
public ID3v2FrameFlags()

	
Methods Summary
public booleangetCompression()

		return compression;
	
public booleangetDataLengthIndicator()

		return dataLengthIndicator;
	
public booleangetEncryption()

		return encryption;
	
public booleangetFileAlterPreservation()

		return fileAlterPreservation;
	
public booleangetGroupingIdentity()

		return groupingIdentity;
	
public booleangetReadOnly()

		return readOnly;
	
public java.lang.StringgetSummary()

		StringBuffer result = new StringBuffer();

		result.append("{");

		if (getTagAlterPreservation())
			result.append("ID3v2FrameFlags: TagAlterPreservation" + ", ");
		if (getFileAlterPreservation())
			result.append("ID3v2FrameFlags: FileAlterPreservation" + ", ");
		if (getReadOnly())
			result.append("ID3v2FrameFlags: ReadOnly" + ", ");
		if (getGroupingIdentity())
			result.append("ID3v2FrameFlags: GroupingIdentity" + ", ");
		if (getCompression())
			result.append("ID3v2FrameFlags: Compression" + ", ");
		if (getEncryption())
			result.append("ID3v2FrameFlags: Encryption" + ", ");
		if (getUnsynchronisation())
			result.append("ID3v2FrameFlags: Unsynchronisation" + ", ");
		if (getDataLengthIndicator())
			result.append("ID3v2FrameFlags: DataLengthIndicator" + ", ");

		result.append("}");

		return result.toString();
	
public booleangetTagAlterPreservation()


	  
	
		return tagAlterPreservation;
	
public booleangetUnsynchronisation()

		return unsynchronisation;
	
public booleanhasSetFlag()

		return tagAlterPreservation || fileAlterPreservation || readOnly
				|| groupingIdentity || compression || encryption
				|| unsynchronisation || dataLengthIndicator;
	
public voidsetCompression(boolean value)

		compression = value;
	
public voidsetDataLengthIndicator(boolean value)

		dataLengthIndicator = value;
	
public voidsetEncryption(boolean value)

		encryption = value;
	
public voidsetFileAlterPreservation(boolean value)

		fileAlterPreservation = value;
	
public voidsetGroupingIdentity(boolean value)

		groupingIdentity = value;
	
public voidsetReadOnly(boolean value)

		readOnly = value;
	
public voidsetTagAlterPreservation(boolean value)

		tagAlterPreservation = value;
	
public voidsetUnsynchronisation(boolean value)

		unsynchronisation = value;