org.metasyntactic.id3.v2.frame
Class TKEY
java.lang.Object
|
+--org.metasyntactic.id3.v2.frame.Frame
|
+--org.metasyntactic.id3.v2.frame.TextInformationFrame
|
+--org.metasyntactic.id3.v2.frame.TKEY
- All Implemented Interfaces:
- Id3v2Constants
- public class TKEY
- extends TextInformationFrame
The 'Initial key' frame contains the musical key in which the sound
starts. It is represented as a string with a maximum length of three
characters. The ground keys are represented with "A","B","C","D","E",
"F" and "G" and halfkeys represented with "b" and "#". Minor is
represented as "m", e.g. "Dbm" $00. Off key is represented with an
"o" only.
|
Field Summary |
static int |
A
|
static int |
B
|
static int |
C
|
static int |
D
|
static int |
E
|
static int |
F
|
static int |
FLAT
|
static int |
G
|
static int |
NATURAL
|
static int |
OFF_KEY
|
static int |
SHARP
|
| Fields inherited from interface org.metasyntactic.id3.v2.Id3v2Constants |
ISO_8859_1, JAVA_ISO_8859_1, JAVA_US_ASCII, JAVA_UTF_16, JAVA_UTF_16_BIG_ENDIAN, JAVA_UTF_8, MAJOR_VERSION, MAX_ENCODING, MIN_ENCODING, REVISION_NUMBER, UTF_16, UTF_16_BIG_ENDIAN, UTF_8 |
|
Constructor Summary |
protected |
TKEY()
|
|
TKEY(int key)
|
|
TKEY(int key,
int half)
|
|
TKEY(int key,
int half,
boolean minor)
|
|
Method Summary |
static void |
main(java.lang.String[] args)
|
protected void |
validate()
Intended for subclasses to use to validate the information read in by
readContent. |
| Methods inherited from class org.metasyntactic.id3.v2.frame.Frame |
getTotalSize, hasDataLengthIndicator, isCompressed, isDiscardedOnFileAlteration, isDiscardedOnTagAlteration, isEncrypted, isPartOfGroup, isReadOnly, isUnsynchronized, read, write |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
A
public static final int A
- See Also:
- Constant Field Values
B
public static final int B
- See Also:
- Constant Field Values
C
public static final int C
- See Also:
- Constant Field Values
D
public static final int D
- See Also:
- Constant Field Values
E
public static final int E
- See Also:
- Constant Field Values
F
public static final int F
- See Also:
- Constant Field Values
G
public static final int G
- See Also:
- Constant Field Values
NATURAL
public static final int NATURAL
- See Also:
- Constant Field Values
FLAT
public static final int FLAT
- See Also:
- Constant Field Values
SHARP
public static final int SHARP
- See Also:
- Constant Field Values
OFF_KEY
public static final int OFF_KEY
- See Also:
- Constant Field Values
TKEY
protected TKEY()
TKEY
public TKEY(int key)
TKEY
public TKEY(int key,
int half)
TKEY
public TKEY(int key,
int half,
boolean minor)
main
public static void main(java.lang.String[] args)
validate
protected void validate()
throws Id3v2Exception
- Description copied from class:
TextInformationFrame
- Intended for subclasses to use to validate the information read in by
readContent. The default implementation is to do nothing
- Overrides:
validate in class TextInformationFrame
Id3v2Exception