public class AiffAudioHeader extends GenericAudioHeader
Modifier and Type | Class and Description |
---|---|
static class |
AiffAudioHeader.Endian |
Constructor and Description |
---|
AiffAudioHeader() |
Modifier and Type | Method and Description |
---|---|
void |
addAnnotation(String a)
Add an annotation.
|
void |
addApplicationIdentifier(String id)
Add an application identifier.
|
void |
addComment(String c)
Add a comment.
|
List<String> |
getAnnotations()
Return list of all annotations
|
List<String> |
getApplicationIdentifiers()
Return list of all application identifiers
|
String |
getAuthor()
Return the author
|
List<String> |
getComments()
Return list of all comments
|
String |
getCopyright()
Return the copyright.
|
AiffAudioHeader.Endian |
getEndian()
Return endian status (big or little)
|
AiffType |
getFileType()
Return the file type (AIFF or AIFC)
|
String |
getName()
Return the name.
|
Date |
getTimestamp()
Return the timestamp of the file.
|
void |
setAuthor(String a)
Set the author
|
void |
setCopyright(String c)
Set the copyright
|
void |
setEndian(AiffAudioHeader.Endian e)
Set endian status (big or little)
|
void |
setFileType(AiffType typ)
Set the file type (AIFF or AIFC)
|
void |
setName(String n)
Set the name
|
void |
setTimestamp(Date d)
Set the timestamp.
|
String |
toString()
Pretty prints this encoding info
|
getAudioDataEndPosition, getAudioDataLength, getAudioDataStartPosition, getBitRate, getBitRateAsNumber, getBitsPerSample, getByteRate, getChannelNumber, getChannels, getEncodingType, getFormat, getNoOfSamples, getPreciseTrackLength, getSampleRate, getSampleRateAsNumber, getTrackLength, isLossless, isVariableBitRate, setAudioDataEndPosition, setAudioDataLength, setAudioDataStartPosition, setBitRate, setBitsPerSample, setByteRate, setChannelNumber, setEncodingType, setFormat, setLossless, setNoOfSamples, setPreciseLength, setSamplingRate, setVariableBitRate
public Date getTimestamp()
public void setTimestamp(Date d)
public AiffType getFileType()
public void setFileType(AiffType typ)
public String getAuthor()
public void setAuthor(String a)
public String getName()
public void setName(String n)
public String getCopyright()
public void setCopyright(String c)
public AiffAudioHeader.Endian getEndian()
public void setEndian(AiffAudioHeader.Endian e)
public List<String> getApplicationIdentifiers()
public void addApplicationIdentifier(String id)
public void addAnnotation(String a)
public void addComment(String c)
public String toString()
GenericAudioHeader
toString
in class GenericAudioHeader
Object.toString()
Copyright © 2005–2020 jthink.net. All rights reserved.