Package | Description |
---|---|
org.jaudiotagger.audio |
Classes and interfaces generic to all audio formats.
|
org.jaudiotagger.audio.aiff | |
org.jaudiotagger.audio.asf |
Classes for Microsoft Advanced Systems Format files.
|
org.jaudiotagger.audio.dff | |
org.jaudiotagger.audio.dsf | |
org.jaudiotagger.audio.exceptions |
Exceptions defined for Jaudiotagger.
|
org.jaudiotagger.audio.flac |
Classes for FLAC (Free Lossless Audio Codec) files.
|
org.jaudiotagger.audio.flac.metadatablock |
Classes for the FLAC metadata block.
|
org.jaudiotagger.audio.generic |
A miscellaneous collection of classes dealing with generic audio files and tags.
|
org.jaudiotagger.audio.mp3 |
Classes for MP3 files.
|
org.jaudiotagger.audio.mp4 |
Classes for MP4 files (including AAC).
|
org.jaudiotagger.audio.mp4.atom |
Classes for MP4 boxes, aka atoms.
|
org.jaudiotagger.audio.ogg |
Classes for Ogg Vorbis files.
|
org.jaudiotagger.audio.ogg.util |
Utility classes for Ogg Vorbis files.
|
org.jaudiotagger.audio.real |
Classes dealing with RealAudio (TM) files.
|
org.jaudiotagger.audio.wav | |
org.jaudiotagger.tag.vorbiscomment |
Code dealing with the Vorbis metadata (called "Comment") tag.
|
Modifier and Type | Method and Description |
---|---|
protected RandomAccessFile |
AudioFile.checkFilePermissions(File file,
boolean readOnly)
Checks the file is accessible with the correct permissions, otherwise exception occurs
|
void |
AudioFile.delete()
Delete any tags that exist in the fie , this is the same as calling the
AudioFileIO.delete(this) method. |
static void |
AudioFileIO.delete(AudioFile f)
Delete the tag, if any, contained in the given file.
|
void |
AudioFileIO.deleteTag(AudioFile f)
Delete the tag, if any, contained in the given file.
|
static AudioFile |
AudioFileIO.read(File f)
Read the tag contained in the given file.
|
static AudioFile |
AudioFileIO.readAs(File f,
String ext)
Read the tag contained in the given file.
|
AudioFile |
AudioFileIO.readFile(File f)
Read the tag contained in the given file.
|
AudioFile |
AudioFileIO.readFileAs(File f,
String ext)
Read the tag contained in the given file.
|
AudioFile |
AudioFileIO.readFileMagic(File f)
Read the tag contained in the given file.
|
static AudioFile |
AudioFileIO.readMagic(File f)
Read the tag contained in the given file.
|
Modifier and Type | Method and Description |
---|---|
protected GenericAudioHeader |
AiffFileReader.getEncodingInfo(Path path) |
protected Tag |
AiffFileReader.getTag(Path path) |
protected GenericAudioHeader |
AiffInfoReader.read(Path file) |
AiffTag |
AiffTagReader.read(Path file)
Read editable Metadata
|
long |
AiffFileHeader.readHeader(FileChannel fc,
AiffAudioHeader aiffAudioHeader)
Reads the file header and registers the data (file type) with the given header.
|
Modifier and Type | Method and Description |
---|---|
protected GenericAudioHeader |
AsfFileReader.getEncodingInfo(RandomAccessFile raf)
(overridden)
|
protected AsfTag |
AsfFileReader.getTag(RandomAccessFile raf)
(overridden)
|
AudioFile |
AsfFileReader.read(File f) |
Modifier and Type | Method and Description |
---|---|
protected GenericAudioHeader |
DffFileReader.getEncodingInfo(Path file) |
protected Tag |
DffFileReader.getTag(Path path) |
Modifier and Type | Method and Description |
---|---|
protected GenericAudioHeader |
DsfFileReader.getEncodingInfo(Path file) |
protected Tag |
DsfFileReader.getTag(Path file) |
Modifier and Type | Class and Description |
---|---|
class |
CannotReadVideoException
This exception should be thrown idf it appears the file is a video file, jaudiotagger only supports audio
files.
|
class |
NoReadPermissionsException
Use this exception insstead of the more general CannotReadException if unable to read file because of a permissions
problem
|
Modifier and Type | Method and Description |
---|---|
int |
FlacInfoReader.countMetaBlocks(File f)
Count the number of metadatablocks, useful for debugging
|
void |
FlacStreamReader.findStream()
Reads the stream block to ensure it is a flac file
|
protected GenericAudioHeader |
FlacFileReader.getEncodingInfo(Path path) |
protected Tag |
FlacFileReader.getTag(Path path) |
FlacAudioHeader |
FlacInfoReader.read(Path path) |
FlacTag |
FlacTagReader.read(Path path) |
Modifier and Type | Method and Description |
---|---|
static MetadataBlockHeader |
MetadataBlockHeader.readHeader(FileChannel fc)
Create header by reading from file
|
Constructor and Description |
---|
MetadataBlockHeader(long startByte,
ByteBuffer rawdata)
Construct header by reading bytes
|
Modifier and Type | Method and Description |
---|---|
void |
AudioFileWriter.delete(AudioFile af)
Delete the tag (if any) present in the given file
|
void |
AudioFileWriter2.delete(AudioFile af)
Delete the tag (if any) present in the given file
|
void |
AudioFileWriter.delete(Tag tag,
RandomAccessFile raf,
RandomAccessFile tempRaf)
Delete the tag (if any) present in the given randomaccessfile, and do not
close it at the end.
|
protected abstract void |
AudioFileWriter2.deleteTag(Tag tag,
Path file)
Must be implemented by each audio format
|
protected abstract void |
AudioFileWriter.deleteTag(Tag tag,
RandomAccessFile raf,
RandomAccessFile tempRaf)
Same as above, but delete tag in the file.
|
void |
AudioFileWriter2.deleteTag(Tag tag,
RandomAccessFile raf,
RandomAccessFile tempRaf) |
protected abstract GenericAudioHeader |
AudioFileReader2.getEncodingInfo(Path path)
Read Encoding Information
|
protected abstract GenericAudioHeader |
AudioFileReader.getEncodingInfo(RandomAccessFile raf) |
protected GenericAudioHeader |
AudioFileReader2.getEncodingInfo(RandomAccessFile raf) |
protected abstract Tag |
AudioFileReader2.getTag(Path path)
Read tag Information
|
protected abstract Tag |
AudioFileReader.getTag(RandomAccessFile raf) |
protected Tag |
AudioFileReader2.getTag(RandomAccessFile file) |
AudioFile |
AudioFileReader.read(File f) |
AudioFile |
AudioFileReader2.read(File f) |
protected abstract void |
AudioFileWriter.writeTag(AudioFile audioFile,
Tag tag,
RandomAccessFile raf,
RandomAccessFile rafTemp)
This is called when a tag has to be written in a file.
|
protected void |
AudioFileWriter2.writeTag(AudioFile audioFile,
Tag tag,
RandomAccessFile raf,
RandomAccessFile rafTemp) |
Modifier and Type | Method and Description |
---|---|
void |
MP3FileWriter.delete(AudioFile af)
Delete the Id3v1 and ID3v2 tags from file
|
protected GenericAudioHeader |
MP3FileReader.getEncodingInfo(RandomAccessFile raf) |
protected Tag |
MP3FileReader.getTag(RandomAccessFile raf) |
AudioFile |
MP3FileReader.read(File f) |
AudioFile |
MP3FileReader.readMustBeWritable(File f)
Read
|
Constructor and Description |
---|
MP3File(File file)
Creates a new MP3File datatype and parse the tag from the given file
Object.
|
MP3File(File file,
int loadOptions)
Creates a new MP3File dataType and parse the tag from the given file
Object, files must be writable to use this constructor.
|
MP3File(File file,
int loadOptions,
boolean readOnly)
Creates a new MP3File dataType and parse the tag from the given file
Object, files can be opened read only if required.
|
MP3File(String filename)
Creates a new MP3File datatype and parse the tag from the given filename.
|
Modifier and Type | Method and Description |
---|---|
void |
Mp4AtomTree.buildChildrenOfNode(ByteBuffer moovBuffer,
DefaultMutableTreeNode parentNode) |
DefaultTreeModel |
Mp4AtomTree.buildTree(SeekableByteChannel fc,
boolean closeExit)
Build a tree of the atoms in the file
|
protected GenericAudioHeader |
Mp4FileReader.getEncodingInfo(Path path) |
protected Tag |
Mp4FileReader.getTag(Path path) |
GenericAudioHeader |
Mp4InfoReader.read(Path file) |
Mp4Tag |
Mp4TagReader.read(Path file) |
Constructor and Description |
---|
Mp4AtomTree(File file) |
Mp4AtomTree(File file,
boolean closeExit) |
Mp4AtomTree(SeekableByteChannel fc)
Create Atom Tree
|
Mp4AtomTree(SeekableByteChannel fc,
boolean closeOnExit)
Create Atom Tree and maintain open channel to raf, should only be used if will continue
to use raf after this call, you will have to close raf yourself.
|
Modifier and Type | Method and Description |
---|---|
static void |
Mp4StcoBox.debugShowStcoInfo(RandomAccessFile raf) |
static Mp4StcoBox |
Mp4StcoBox.getStco(RandomAccessFile raf) |
void |
Mp4AlacBox.processData() |
void |
Mp4DrmsBox.processData()
Process direct data
|
void |
Mp4FtypBox.processData() |
void |
Mp4HdlrBox.processData() |
void |
Mp4MetaBox.processData() |
void |
Mp4Mp4aBox.processData() |
void |
Mp4StsdBox.processData() |
Modifier and Type | Method and Description |
---|---|
byte[] |
OggVorbisTagReader.convertToVorbisSetupHeaderPacket(long fileOffsetOfStartingOggPage,
RandomAccessFile raf)
The Vorbis Setup Header may span multiple(2) pages, athough it doesnt normally.
|
byte[] |
OggVorbisTagReader.convertToVorbisSetupHeaderPacketAndAdditionalPackets(long fileOffsetOfStartingOggPage,
RandomAccessFile raf)
The Vorbis Setup Header may span multiple(2) pages, athough it doesnt normally.
|
void |
OggVorbisTagWriter.delete(RandomAccessFile raf,
RandomAccessFile tempRaf) |
protected void |
OggFileWriter.deleteTag(Tag tag,
RandomAccessFile raf,
RandomAccessFile tempRaf) |
protected GenericAudioHeader |
OggFileReader.getEncodingInfo(RandomAccessFile raf) |
protected Tag |
OggFileReader.getTag(RandomAccessFile raf) |
Tag |
OggVorbisTagReader.read(RandomAccessFile raf)
Read the Logical VorbisComment Tag from the file
|
OggPageHeader |
OggFileReader.readOggPageHeader(RandomAccessFile raf,
int count)
Return count Ogg Page header, count starts from zero
count=0; should return PageHeader that contains Vorbis Identification Header
count=1; should return Pageheader that contains VorbisComment and possibly SetupHeader
count>=2; should return PageHeader containing remaining VorbisComment,SetupHeader and/or Audio
|
OggVorbisTagReader.OggVorbisHeaderSizes |
OggVorbisTagReader.readOggVorbisHeaderSizes(RandomAccessFile raf)
Calculate the size of the packet data for the comment and setup headers
|
int |
OggVorbisTagReader.readOggVorbisRawSize(RandomAccessFile raf)
Retrieve the Size of the VorbisComment packet including the oggvorbis header
|
byte[] |
OggVorbisTagReader.readRawPacketData(RandomAccessFile raf)
Retrieve the raw VorbisComment packet data, does not include the OggVorbis header
|
void |
OggFileReader.shortSummarizeOggPageHeaders(File oggFile)
Summarizes the first five pages, normally all we are interested in
|
void |
OggFileReader.summarizeOggPageHeaders(File oggFile)
Summarize all the ogg headers in a file
A useful utility function
|
void |
OggVorbisTagWriter.write(Tag tag,
RandomAccessFile raf,
RandomAccessFile rafTemp) |
void |
OggVorbisTagWriter.writeRemainingPages(int pageSequence,
RandomAccessFile raf,
RandomAccessFile rafTemp)
Write all the remaining pages as they are except that the page sequence needs to be modified.
|
protected void |
OggFileWriter.writeTag(AudioFile audioFile,
Tag tag,
RandomAccessFile raf,
RandomAccessFile rafTemp) |
Modifier and Type | Method and Description |
---|---|
static OggPageHeader |
OggPageHeader.read(ByteBuffer byteBuffer)
Read next PageHeader from Buffer
|
GenericAudioHeader |
OggInfoReader.read(RandomAccessFile raf) |
static OggPageHeader |
OggPageHeader.read(RandomAccessFile raf)
Read next PageHeader from file
|
Modifier and Type | Method and Description |
---|---|
protected GenericAudioHeader |
RealFileReader.getEncodingInfo(RandomAccessFile raf) |
protected Tag |
RealFileReader.getTag(RandomAccessFile raf) |
static RealChunk |
RealChunk.readChunk(RandomAccessFile raf) |
Modifier and Type | Method and Description |
---|---|
protected GenericAudioHeader |
WavFileReader.getEncodingInfo(Path path) |
protected Tag |
WavFileReader.getTag(Path path) |
static boolean |
WavRIFFHeader.isValidHeader(String loggingName,
FileChannel fc) |
GenericAudioHeader |
WavInfoReader.read(Path path) |
WavTag |
WavTagReader.read(Path path)
Read file and return tag metadata
|
protected boolean |
WavInfoReader.readChunk(FileChannel fc,
GenericAudioHeader info)
Reads a Wav Chunk.
|
protected boolean |
WavTagReader.readChunk(FileChannel fc,
WavTag tag)
Reads Wavs Chunk that contain tag metadata
If the same chunk exists more than once in the file we would just use the last occurence
|
Modifier and Type | Method and Description |
---|---|
VorbisCommentTag |
VorbisCommentReader.read(byte[] rawdata,
boolean isFramingBit,
Path path) |
Copyright © 2005–2020 jthink.net. All rights reserved.