|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.File de.vdheide.mp3.MP3File
Instances of this class contain an MP3 file, giving access to its ID3 and ID3v2 tags and other mp3 properties.
It provides a common interface to both tags, e.g.
setTitle(title)
updates the title field in both tags. When
reading (e.g. getTitle()
, it tries to provide as much
information as possible (this means returning the ID3v2 infos if tag and
requested field are present).
Information stored in tags is always returned as a TagContent
,
the description of the respective get Methods state which fields are used.
The more complex frames are not parsed into fields, but rather returned as a
byte array. It is up to the user of this class to make sense of it. Usage of
a special decode class is recommended.
It is assumed that each ID3v2 frame is unique, as is the case for nearly all frame types
Field Summary |
Fields inherited from class java.io.File |
pathSeparator, pathSeparatorChar, separator, separatorChar |
Constructor Summary | |
MP3File(java.io.File dir,
java.lang.String filename)
Creates a MP3File instance that represents the file with the specified name in the specified directory. |
|
MP3File(java.lang.String filename)
Creates a new instance. |
|
MP3File(java.lang.String dir,
java.lang.String filename)
Creates a File instance whose pathname is the pathname of the specified directory, followed by the separator character, followed by the name argument. |
Method Summary | |
TagContent |
getAlbum()
Read album/movie/show title. |
TagContent |
getArtist()
Read artist, store as text content. |
TagContent |
getArtistWebpage()
Read official artist / performer webpage, store as text content |
TagContent |
getAudioFileWebpage()
Read official audio file webpage, store as text content |
TagContent |
getAudioSourceWebpage()
Read official audio source webpage, store as text content Used e.g. for movie soundtracks, then points to the movie |
TagContent |
getBand()
Read band (orchestra, accompaniment), store as text content |
int |
getBitrate()
|
TagContent |
getBPM()
Read BPM. |
TagContent |
getCDIdentifier()
Read Music CD identifier, store as binary content |
TagContent |
getComments()
Read comments, store language as type, description as description and comments as text content |
TagContent |
getCommercial()
Read commercial frame, store as binary content See the ID3v2 informal standard for details on the format of this field. |
TagContent |
getCommercialInformation()
Read Commercial information webpage, store as text content |
TagContent |
getComposer()
Read composer(s), stored as text content. |
TagContent |
getConductor()
Read conductor, store as text content |
TagContent |
getContentGroup()
Read content group description, store as text content. |
boolean |
getCopyright()
|
TagContent |
getCopyrightText()
Read copyright, store as text content. |
TagContent |
getCopyrightWebpage()
Read Coypright / legal information webpage, store as text content |
TagContent |
getDate()
Read date (format DDMM), store as text content. |
int |
getEmphasis()
Returns emphasis used in MP3 file Better use constants from MP3Properties. |
TagContent |
getEncapsulatedObject()
Read general encapsulated object, store MIME type as type, filename as text subtype, description as description and object as binary content. |
TagContent |
getEncodedBy()
Read encoded by, store as text content. |
TagContent |
getEncryptionMethodRegistration()
Read encryption method registration, store owner identifier as type, method symbol as binary subtype and encryption data as binary content. |
TagContent |
getEqualisation()
Read equalisation, store as binary content See the ID3v2 informal standard for details on the format of this field. |
TagContent |
getEventTimingCodes()
Read event timing codes, store as binary content See the ID3v2 informal standard for details on the format of this field. |
TagContent |
getFileOwner()
Read file owner, store as text content |
TagContent |
getFilesize()
Get size of file in bytes, excluding id3v2 tag, store as text content |
TagContent |
getFileType()
Read file type, store as text content. |
TagContent |
getGenre()
Read genre (type of music like "Soul", "Rock", etc.) stored as text content. |
TagContent |
getGroupIdentificationRegistration()
Read group identification registration, store owner identifier as type, group symbol as binary subtype and group dependent data as binary content. |
TagContent |
getInitialKey()
Read initial key Musical key in which sound starts. |
TagContent |
getInternetRadioStationName()
Get Internet radio station name, store as text content |
TagContent |
getInternetRadioStationOwner()
Get Internet radio station owner, store as text content |
TagContent |
getInternetRadioStationWebpage()
Read official internet radio station webpage, store as text content |
TagContent |
getISRC()
Get International Standard Recording Code, store as text content |
TagContent |
getLanguage()
Read language of lyrics Language is represented with three characters according to ISO-639-2. |
int |
getLayer()
|
long |
getLength()
|
TagContent |
getLengthInTag()
Read length of audiofile in milliseconds, store as text content. |
TagContent |
getLookupTable()
Read MPEG location lookup table, store as binary content See the ID3v2 informal standard for details on the format of this field. |
TagContent |
getLyricist()
Read lyricist, store as text content. |
TagContent |
getMediaType()
Read media type, store as text content. |
int |
getMode()
Returns mode (mono, stereo, etc.) used in MP3 file Better use constants from MP3Properties. |
int |
getMPEGLevel()
|
boolean |
getOriginal()
|
TagContent |
getOriginalArtist()
Read original artist(s) (for cover songs), store as text content |
TagContent |
getOriginalFilename()
Read original filename, store as text content Original filename is used to store prefered filename on media which does have limitations to the filename. |
TagContent |
getOriginalLyricist()
Read original lyricist(s) (for cover songs), store as text content |
TagContent |
getOriginalTitle()
Read original title (for cover songs), store as text content |
TagContent |
getOriginalYear()
Read original release year (format YYYY) (for cover songs), store as text content |
TagContent |
getOwnership()
Read ownership, store as binary content See the ID3v2 informal standard for details on the format of this field. |
boolean |
getPadding()
|
TagContent |
getPartOfSet()
Read part of a set (e.g. 1/2 for a double CD), store as text content |
TagContent |
getPaymentWebpage()
Read payment webpage, store as text content |
TagContent |
getPicture()
Read attached picture, store MIME type as type, picture type as binary subtype, description as description and picture data as binary content. |
TagContent |
getPlayCounter()
Read play counter, store as binary content See the ID3v2 informal standard for details on the format of this field. |
TagContent |
getPlaylistDelay()
Read playlist delay, store as text content. |
TagContent |
getPopularimeter()
Read popularimeter, store as binary content See the ID3v2 informal standard for details on the format of this field. |
TagContent |
getPositionSynchronization()
Read position synchronization, store as binary content See the ID3v2 informal standard for details on the format of this field. |
boolean |
getPrivate()
|
TagContent |
getPrivateData()
Read private data, store owner identifier as type, private data as binary content. |
boolean |
getProtection()
|
TagContent |
getPublisher()
Read publisher, store as text content |
TagContent |
getPublishersWebpage()
Read official publishers webpage, store as text content |
TagContent |
getRecommendedBufferSize()
Read recommended buffer size, store as binary content See the ID3v2 informal standard for details on the format of this field. |
TagContent |
getRecordingDates()
Get recording dates, store as text content |
TagContent |
getRelativeVolumenAdjustment()
Read relative volume adjustment, store as binary content See the ID3v2 informal standard for details on the format of this field. |
TagContent |
getRemixer()
Read remixer, store as text content |
TagContent |
getReverb()
Read reverb, store as binary content See the ID3v2 informal standard for details on the format of this field. |
int |
getSamplerate()
|
TagContent |
getSubtitle()
Read subtitle, store as text content. |
TagContent |
getSynchronizedLyrics()
Read synchronized lyrics, store as binary content See the ID3v2 informal standard for details on the format of this field. |
TagContent |
getSynchronizedTempoCodes()
Read synchronized tempo codes, store as binary content See the ID3v2 informal standard for details on the format of this field. |
TagContent |
getTermsOfUse()
Read terms of use, store language as type and terms of use as text content |
TagContent |
getTime()
Read time (format HHMM), store as text content. |
TagContent |
getTitle()
Read song title, store as text content. |
TagContent |
getTrack()
Read track number, store in text content. |
TagContent |
getUniqueFileIdentifier()
Read unique file identifier. |
TagContent |
getUnsynchronizedLyrics()
Read unsynchronized lyrics, store language as type, description as description and lyrics as text content |
boolean |
getUseCompression()
|
boolean |
getUseCRC()
|
boolean |
getUsePadding()
|
TagContent |
getUserDefinedText()
Read user defined text, store description as description and value as text content |
TagContent |
getUserDefinedURL()
Read user defined URL, store description as description and URL as text content |
boolean |
getUseUnsynchronization()
|
boolean |
getWriteID3()
Should an ID3 tag be written |
boolean |
getWriteID3v2()
Should an ID3v2 tag be written? |
TagContent |
getYear()
Get year of recording, store as text content |
void |
setAlbum(TagContent album)
Set album. |
void |
setArtist(TagContent artist)
Set artist, read from text content. |
void |
setArtistWebpage(TagContent page)
Set official artist / performer webpage, read from text content. |
void |
setAudioFileWebpage(TagContent page)
Set official audio file webpage, read from text content. |
void |
setAudioSourceWebpage(TagContent page)
Set official audio source webpage, read from text content. |
void |
setBand(TagContent band)
Set band, read from text content. |
void |
setBPM(TagContent bpm)
Set BPM. |
void |
setCDIdentifier(TagContent ident)
Set music CD identifier, read from binary content. |
void |
setComments(TagContent comm)
Set comments. |
void |
setCommercial(TagContent commercial)
Set commercial frame, read from binary content. |
void |
setCommercialInformation(TagContent info)
Set Commercial information webpage, read from text content. |
void |
setComposer(TagContent composer)
Set composer(s), read from text content. |
void |
setConductor(TagContent conductor)
Set conductor, read from text content. |
void |
setContentGroup(TagContent content)
Set content group description, read from text content. |
void |
setCopyrightText(TagContent copyright)
Set copyright, read from text content. |
void |
setCopyrightWebpage(TagContent copy)
Set Copyright / legal information webpage, read from text content. |
void |
setDate(TagContent date)
Set date (format DDMM), read from text content. |
void |
setEncapsulatedObject(TagContent obj)
Set general encapsulated object. |
void |
setEncodedBy(TagContent encoder)
Set encoded by, read from text content. |
void |
setEncryptionMethodRegistration(TagContent encr)
Set encryption method registration. |
void |
setEqualisation(TagContent equal)
Set equalisation, read from binary content. |
void |
setEventTimingCodes(TagContent codes)
Set event timing codes, read from binary content. |
void |
setFileOwner(TagContent owner)
Set file owner, read from text content. |
void |
setFilesize(TagContent size)
Set size of files in bytes, excluding id3v2 tag, read from text content. |
void |
setFileType(TagContent type)
Set file type, read from text content. |
void |
setGenre(TagContent genre)
Set genre, read from text content. |
void |
setGroupIdentificationRegistration(TagContent grp)
Set group identification registration. |
void |
setInitialKey(TagContent key)
Set initial key, read from text content. |
void |
setInternetRadioStationName(TagContent name)
Set Internet radio station name, read from text content. |
void |
setInternetRadioStationOwner(TagContent owner)
Set Internet radio station owner, read from text content. |
void |
setInternetRadioStationWebpage(TagContent page)
Set official internet radio station webpage, read from text content. |
void |
setISRC(TagContent isrc)
Set International Standard Recording Code, read from text content. |
void |
setLanguage(TagContent lang)
Set language of lyrics, read from text content. |
void |
setLengthInTag(TagContent length)
Set length of audiofile in milliseconds, read from text content. |
void |
setLookupTable(TagContent table)
Set MPEG location lookup table, read from binary content. |
void |
setLyricist(TagContent lyricist)
Set lyricist, read from text content. |
void |
setMediaType(TagContent type)
Set media type, read from text content. |
void |
setOriginalArtist(TagContent artist)
Set original artist(s), read from text content. |
void |
setOriginalFilename(TagContent filename)
Set original filename, read from text content. |
void |
setOriginalLyricist(TagContent lyricist)
Set original lyricist(s), read from text content. |
void |
setOriginalTitle(TagContent title)
Set original title, read from text content. |
void |
setOriginalYear(TagContent year)
Set original release year (format YYYY), read from text content. |
void |
setOwnership(TagContent owner)
Set ownership, read from binary content. |
void |
setPartOfSet(TagContent part)
Set part of a set (e.g. 1/2 for a double CD), read from text content. |
void |
setPaymentWebpage(TagContent page)
Set payment webpage, read from text content. |
void |
setPicture(TagContent pic)
Set attached picture. |
void |
setPlayCounter(TagContent count)
Set play counter, read from binary content. |
void |
setPlaylistDelay(TagContent delay)
Set playlist delay, read from text content. |
void |
setPopularimeter(TagContent pop)
Set popularimeter, read from binary content. |
void |
setPositionSynchronization(TagContent synch)
Set position synchronization, read from binary content. |
void |
setPrivateData(TagContent data)
Set private data. |
void |
setPublisher(TagContent publisher)
Set publisher, read from text content. |
void |
setPublishersWebpage(TagContent page)
Set official publishers webpage, read from text content. |
void |
setRecommendedBufferSize(TagContent size)
Set recommended buffer size, read from binary content. |
void |
setRecordingDate(TagContent date)
Set recording date, read from text content. |
void |
setRelativeVolumeAdjustment(TagContent adjust)
Set relative volume adjustment, read from binary content. |
void |
setRemixer(TagContent remixer)
Set remixer, read from text content. |
void |
setReverb(TagContent reverb)
Set reverb, read from binary content. |
void |
setSubtitle(TagContent subtitle)
Set subtitle, read from text content. |
void |
setSynchronizedLyrics(TagContent lyrics)
Set synchronized lyrics, read from binary content. |
void |
setSynchronizedTempoCodes(TagContent codes)
Set synchronized tempo codes, read from binary content. |
void |
setTermsOfUse(TagContent use)
Set terms of use. |
void |
setTime(TagContent time)
Set time (format HHMM), read from text content. |
void |
setTitle(TagContent title)
Set title, read from text content. |
void |
setTrack(TagContent track)
Set track number, read from text content. |
void |
setUniqueFileIdentifier(TagContent ufi)
Set unique file identifier. |
void |
setUnsynchronizedLyrics(TagContent lyric)
Set unsynchronized lyrics. |
void |
setUseCompression(boolean use_compression)
Use compression in ID3v2 tag? |
void |
setUseCRC(boolean use_crc)
Use CRC in ID3v2 tag? |
void |
setUsePadding(boolean use_padding)
Use padding in ID3v2 tag? |
void |
setUserDefinedText(TagContent info)
Set user defined text information. |
void |
setUserDefinedURL(TagContent link)
Set user defined URL link. |
void |
setUseUnsynchronization(boolean use_unsynch)
Use unsynchronization in ID3v2 tag? |
void |
setWriteID3(boolean write_id3)
Write ID3 tag? |
void |
setWriteID3v2(boolean write_id3v2)
Write ID3v2 tag? |
void |
setYear(TagContent year)
Set year of recording, read from text content. |
void |
update()
Commit information to file |
Methods inherited from class java.io.File |
canRead, canWrite, compareTo, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getName, getParent, getParentFile, getPath, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setLastModified, setReadOnly, toString, toURI, toURL |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MP3File(java.lang.String filename) throws java.io.IOException, NoMP3FrameException, ID3v2WrongCRCException, ID3v2DecompressionException, ID3v2IllegalVersionException
update()
.
filename
- File name
java.io.IOException
- If I/O error occurs
NoMP3FrameException
- If file does not contain at least one mp3 frame
ID3v2WrongCRCException
- If the ID3v2 tag fails CRC
ID3v2DecompressionException
- If the ID3v2 tag cannot be decompressed
ID3v2IllegalVersionException
- If the ID3v2 tag has a wrong (too high) versionpublic MP3File(java.io.File dir, java.lang.String filename) throws java.io.IOException, NoMP3FrameException, ID3v2WrongCRCException, ID3v2DecompressionException, ID3v2IllegalVersionException
update()
.
dir
- Directoryfilename
- File name
java.io.IOException
- If I/O error occurs
NoMP3FrameException
- If file does not contain at least one mp3 frame
ID3v2WrongCRCException
- If the ID3v2 tag fails CRC
ID3v2DecompressionException
- If the ID3v2 tag cannot be decompressed
ID3v2IllegalVersionException
- If the ID3v2 tag has a wrong (too high) versionpublic MP3File(java.lang.String dir, java.lang.String filename) throws java.io.IOException, NoMP3FrameException, ID3v2WrongCRCException, ID3v2DecompressionException, ID3v2IllegalVersionException
update()
.
dir
- Name of directoryfilename
- File name
java.io.IOException
- If I/O error occurs
NoMP3FrameException
- If file does not contain at least one mp3 frame
ID3v2WrongCRCException
- If the ID3v2 tag fails CRC
ID3v2DecompressionException
- If the ID3v2 tag cannot be decompressed
ID3v2IllegalVersionException
- If the ID3v2 tag has a wrong (too high) versionMethod Detail |
public void update() throws ID3Exception, ID3v2Exception
ID3Exception
- If an error occurs when writing the ID3 tag
ID3v2Exception
- If an error ocurrs when writing the ID3v2 tagpublic void setWriteID3(boolean write_id3)
write_id3
- True: Write ID3 tag on updatepublic boolean getWriteID3()
public void setWriteID3v2(boolean write_id3v2)
write_id3v2
- True: Write ID3v2 tag on updatepublic boolean getWriteID3v2()
public void setUseCompression(boolean use_compression)
use_compression
- True: Use compressionpublic boolean getUseCompression()
public void setUseCRC(boolean use_crc)
use_crc
- True: Use CRCpublic boolean getUseCRC()
public void setUsePadding(boolean use_padding)
use_padding
- True: Use paddingpublic boolean getUsePadding()
public void setUseUnsynchronization(boolean use_unsynch)
use_unsynch
- True: Use unsynchronizationpublic boolean getUseUnsynchronization()
public int getMPEGLevel()
public int getLayer()
public int getBitrate()
public int getSamplerate()
public int getMode()
public int getEmphasis()
public boolean getProtection()
public boolean getPrivate()
public boolean getPadding()
public boolean getCopyright()
public boolean getOriginal()
public long getLength()
public TagContent getAlbum() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setAlbum(TagContent album) throws TagFormatException
album
- Album to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getBPM() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setBPM(TagContent bpm) throws TagFormatException
bpm
- BPM to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getComposer() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setComposer(TagContent composer) throws TagFormatException
composer
- Composer(s) to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getGenre() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setGenre(TagContent genre) throws TagFormatException
genre
- Genre to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getCopyrightText() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setCopyrightText(TagContent copyright) throws TagFormatException
copyright
- Copyright to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getDate() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setDate(TagContent date) throws TagFormatException
date
- Date to set
TagFormatException
- If input does not adhere to the format given above.public TagContent getPlaylistDelay() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setPlaylistDelay(TagContent delay) throws TagFormatException
delay
- Playlist delay to set
TagFormatException
- If input is not a numeric stringpublic TagContent getEncodedBy() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setEncodedBy(TagContent encoder) throws TagFormatException
encoder
- Encoded by to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getLyricist() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setLyricist(TagContent lyricist) throws TagFormatException
lyricist
- Lyricist to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getFileType() throws FrameDamagedException
The following types are defined (other types may be used)
MPG
: MPEG Audio
MPG/1
: MPEG 1/2 layer IMPG/2
: MPEG 1/2 layer IIMPG/3
: MPEG 1/2 layer IIIMPG/2.5
: MPEG 2.5MPG/AAC
: Advanced audio compressionVQF
: Transform-domain weighted interleace vector
quantizationPCM
: Pulse code modulated audio
FrameDamagedException
- If frame is damaged (e.g. too short)public void setFileType(TagContent type) throws TagFormatException
type
- File type to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getTime() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setTime(TagContent time) throws TagFormatException
time
- Time to set
TagFormatException
- If input does not adhere to the format given above.public TagContent getContentGroup() throws FrameDamagedException
Content group description is used if sound belongs to a larger category of sounds, e.g. "Piano Concerto", "Weather - Hurricane")
FrameDamagedException
- If frame is damaged (e.g. too short)public void setContentGroup(TagContent content) throws TagFormatException
Content group description is used if sound belongs to a larger category of sounds, e.g. "Piano Concerto", "Weather - Hurricane")
content
- Content group description to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getTitle() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setTitle(TagContent title) throws TagFormatException
title
- Title to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getSubtitle() throws FrameDamagedException
Subtitle is used for information directly related to the contents title (e.g. "Op. 16" or "Performed live at Wembley")
FrameDamagedException
- If frame is damaged (e.g. too short)public void setSubtitle(TagContent subtitle) throws TagFormatException
Content group description is used if sound belongs to a larger category of sounds, e.g. "Piano Concerto", "Weather - Hurricane")
subtitle
- Subtitle to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getInitialKey() throws FrameDamagedException
Musical key in which sound starts. String with max 3 characters, ground keys: A, B, C, D, E, F, G, halfkeys b and #. Minor: m, Off key: o
FrameDamagedException
- If frame is damaged (e.g. too short)public void setInitialKey(TagContent key) throws TagFormatException
Musical key in which sound starts. String with max 3 characters, ground keys: A, B, C, D, E, F, G, halfkeys b and #. Minor: m, Off key: o
key
- Initial key to set
TagFormatException
- If key is longer than three characterspublic TagContent getLanguage() throws FrameDamagedException
Language is represented with three characters according to ISO-639-2.
FrameDamagedException
- If frame is damaged (e.g. too short)public void setLanguage(TagContent lang) throws TagFormatException
Language is represented with three characters according to ISO-639-2.
lang
- Language to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getLengthInTag() throws FrameDamagedException
This returns the length stored in the ID3v2 tag, not the length calculated from file length.
FrameDamagedException
- If frame is damaged (e.g. too short)public void setLengthInTag(TagContent length) throws TagFormatException
length
- Length to set
TagFormatException
- If input is not a numeric stringpublic TagContent getMediaType() throws FrameDamagedException
See the ID3v2 informal standard for more information.
FrameDamagedException
- If frame is damaged (e.g. too short)public void setMediaType(TagContent type) throws TagFormatException
See the ID3v2 informal standard for more information.
type
- Media type to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getOriginalTitle() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setOriginalTitle(TagContent title) throws TagFormatException
title
- Original title to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getOriginalFilename() throws FrameDamagedException
Original filename is used to store prefered filename on media which does have limitations to the filename. It is stored including suffix.
FrameDamagedException
- If frame is damaged (e.g. too short)public void setOriginalFilename(TagContent filename) throws TagFormatException
Original filename is used to store prefered filename on media which have limitations to the filename. It is stored including suffix.
filename
- Original filename to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getOriginalLyricist() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setOriginalLyricist(TagContent lyricist) throws TagFormatException
lyricist
- Original lyricist(s) to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getOriginalArtist() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setOriginalArtist(TagContent artist) throws TagFormatException
artist
- Original artist(s) to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getOriginalYear() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setOriginalYear(TagContent year) throws TagFormatException
year
- Original year to set
TagFormatException
- If input is not in the format listed abovepublic TagContent getFileOwner() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setFileOwner(TagContent owner) throws TagFormatException
owner
- File owner to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getArtist() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setArtist(TagContent artist) throws TagFormatException
artist
- Artist to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getBand() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setBand(TagContent band) throws TagFormatException
band
- Band to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getConductor() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setConductor(TagContent conductor) throws TagFormatException
conductor
- Conductor to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getRemixer() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setRemixer(TagContent remixer) throws TagFormatException
remixer
- Remixer to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getPartOfSet() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setPartOfSet(TagContent part) throws TagFormatException
part
- Part of a set to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getPublisher() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setPublisher(TagContent publisher) throws TagFormatException
publisher
- Publisher to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getTrack() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setTrack(TagContent track) throws TagFormatException
track
- Track number to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getRecordingDates() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setRecordingDate(TagContent date) throws TagFormatException
date
- Recording date
TagFormatException
- If information to set is not correctly formattedpublic TagContent getInternetRadioStationName() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setInternetRadioStationName(TagContent name) throws TagFormatException
name
- Internet radio station name
TagFormatException
- If information to set is not correctly formattedpublic TagContent getInternetRadioStationOwner() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setInternetRadioStationOwner(TagContent owner) throws TagFormatException
owner
- Station owner
TagFormatException
- If information to set is not correctly formattedpublic TagContent getFilesize() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setFilesize(TagContent size) throws TagFormatException
size
- Size of file
TagFormatException
- If input is not numericpublic TagContent getISRC() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setISRC(TagContent isrc) throws TagFormatException
isrc
- ISRC
TagFormatException
- If input is not of 12 character's lengthpublic TagContent getYear() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setYear(TagContent year) throws TagFormatException
year
- Year of recording
TagFormatException
- If input is not numeric or not 4 or 5 characterspublic TagContent getCommercialInformation() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setCommercialInformation(TagContent info) throws TagFormatException
info
- Commercial information to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getCopyrightWebpage() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setCopyrightWebpage(TagContent copy) throws TagFormatException
copy
- Copyright webpage to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getAudioFileWebpage() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setAudioFileWebpage(TagContent page) throws TagFormatException
page
- Official audio file webpage to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getArtistWebpage() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setArtistWebpage(TagContent page) throws TagFormatException
page
- Artist webpage webpage to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getAudioSourceWebpage() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setAudioSourceWebpage(TagContent page) throws TagFormatException
page
- Official audio source webpage to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getInternetRadioStationWebpage() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setInternetRadioStationWebpage(TagContent page) throws TagFormatException
page
- Official internet radio station webpage to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getPaymentWebpage() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setPaymentWebpage(TagContent page) throws TagFormatException
page
- Payment webpage to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getPublishersWebpage() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setPublishersWebpage(TagContent page) throws TagFormatException
page
- Official publishers webpage to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getEventTimingCodes() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setEventTimingCodes(TagContent codes) throws TagFormatException
codes
- Timing codes to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getLookupTable() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setLookupTable(TagContent table) throws TagFormatException
table
- Location lookup table to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getSynchronizedTempoCodes() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setSynchronizedTempoCodes(TagContent codes) throws TagFormatException
codes
- Synchronized tempo codes to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getSynchronizedLyrics() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setSynchronizedLyrics(TagContent lyrics) throws TagFormatException
lyrics
- Synchronized lyrics
TagFormatException
- If information to set is not correctly formattedpublic TagContent getRelativeVolumenAdjustment() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setRelativeVolumeAdjustment(TagContent adjust) throws TagFormatException
adjust
- Relative volume adjustment to set
TagFormatException
- If information to set is not correctly formattedpublic TagContent getEqualisation() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setEqualisation(TagContent equal) throws TagFormatException
equal
- Equalisation
TagFormatException
- If information to set is not correctly formattedpublic TagContent getReverb() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setReverb(TagContent reverb) throws TagFormatException
reverb
- Reverb
TagFormatException
- If information to set is not correctly formattedpublic TagContent getPlayCounter() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setPlayCounter(TagContent count) throws TagFormatException
count
- Play counter
TagFormatException
- If information to set is not correctly formattedpublic TagContent getPopularimeter() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setPopularimeter(TagContent pop) throws TagFormatException
pop
- Popularimeter
TagFormatException
- If information to set is not correctly formattedpublic TagContent getRecommendedBufferSize() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setRecommendedBufferSize(TagContent size) throws TagFormatException
size
- Recommended buffer size
TagFormatException
- If information to set is not correctly formattedpublic TagContent getPositionSynchronization() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setPositionSynchronization(TagContent synch) throws TagFormatException
synch
- Position synchronization
TagFormatException
- If information to set is not correctly formattedpublic TagContent getOwnership() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setOwnership(TagContent owner) throws TagFormatException
owner
- Ownership
TagFormatException
- If information to set is not correctly formattedpublic TagContent getCommercial() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setCommercial(TagContent commercial) throws TagFormatException
commercial
- Commercial frame
TagFormatException
- If information to set is not correctly formattedpublic TagContent getCDIdentifier() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setCDIdentifier(TagContent ident) throws TagFormatException
ident
- CD identifier
TagFormatException
- If information to set is not correctly formattedpublic TagContent getUniqueFileIdentifier() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setUniqueFileIdentifier(TagContent ufi) throws TagFormatException
ufi
- Unique file identifier to set.
TagFormatException
- If File identifier is longer than 64 characterspublic TagContent getUserDefinedText() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setUserDefinedText(TagContent info) throws TagFormatException
info
- User defined text information
TagFormatException
- If information to set is not correctly formattedpublic TagContent getUserDefinedURL() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setUserDefinedURL(TagContent link) throws TagFormatException
link
- User defined URL link
TagFormatException
- If information to set is not correctly formattedpublic TagContent getUnsynchronizedLyrics() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setUnsynchronizedLyrics(TagContent lyric) throws TagFormatException
lyric
- Unsynchronized lyrics
TagFormatException
- If information to set is not correctly formattedpublic TagContent getComments() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setComments(TagContent comm) throws TagFormatException
comm
- Comments
TagFormatException
- If information to set is not correctly formattedpublic TagContent getPicture() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setPicture(TagContent pic) throws TagFormatException
pic
- Picture
TagFormatException
- If information to set is not correctly formattedpublic TagContent getEncapsulatedObject() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setEncapsulatedObject(TagContent obj) throws TagFormatException
obj
- Object
TagFormatException
- If information to set is not correctly formattedpublic TagContent getTermsOfUse() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setTermsOfUse(TagContent use) throws TagFormatException
use
- Terms of use
TagFormatException
- If information to set is not correctly formattedpublic TagContent getEncryptionMethodRegistration() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setEncryptionMethodRegistration(TagContent encr) throws TagFormatException
encr
- Encryption method
TagFormatException
- If information to set is not correctly formattedpublic TagContent getGroupIdentificationRegistration() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setGroupIdentificationRegistration(TagContent grp) throws TagFormatException
grp
- Group identification
TagFormatException
- If information to set is not correctly formattedpublic TagContent getPrivateData() throws FrameDamagedException
FrameDamagedException
- If frame is damaged (e.g. too short)public void setPrivateData(TagContent data) throws TagFormatException
data
- Private data
TagFormatException
- If information to set is not correctly formatted
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |