Uses of Class
org.jaudiotagger.audio.exceptions.CannotReadException

Packages that use CannotReadException
org.jaudiotagger.audio   
org.jaudiotagger.audio.asf   
org.jaudiotagger.audio.exceptions   
org.jaudiotagger.audio.flac   
org.jaudiotagger.audio.generic   
org.jaudiotagger.audio.mp3   
org.jaudiotagger.audio.mp4   
org.jaudiotagger.audio.mp4.atom   
org.jaudiotagger.audio.ogg   
org.jaudiotagger.audio.ogg.util   
org.jaudiotagger.audio.real   
org.jaudiotagger.audio.wav   
org.jaudiotagger.audio.wav.util   
org.jaudiotagger.tag.vorbiscomment   
 

Uses of CannotReadException in org.jaudiotagger.audio
 

Methods in org.jaudiotagger.audio that throw CannotReadException
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(java.io.File f)
          

Read the tag contained in the given file.

 AudioFile AudioFileIO.readFile(java.io.File f)
          

Read the tag contained in the given file.

 

Uses of CannotReadException in org.jaudiotagger.audio.asf
 

Methods in org.jaudiotagger.audio.asf that throw CannotReadException
private  GenericAudioHeader AsfFileReader.getAudioHeader(AsfHeader header)
          Creates a generic audio header instance with provided data from header.
protected  GenericAudioHeader AsfFileReader.getEncodingInfo(java.io.RandomAccessFile raf)
          (overridden)
protected  AsfTag AsfFileReader.getTag(java.io.RandomAccessFile raf)
          (overridden)
 AudioFile AsfFileReader.read(java.io.File f)
          
 

Uses of CannotReadException in org.jaudiotagger.audio.exceptions
 

Subclasses of CannotReadException in org.jaudiotagger.audio.exceptions
 class CannotReadVideoException
          This exception should be thrown idf it appears the file is a video file, jaudiotagger only supports audio files.
 

Uses of CannotReadException in org.jaudiotagger.audio.flac
 

Methods in org.jaudiotagger.audio.flac that throw CannotReadException
 int FlacInfoReader.countMetaBlocks(java.io.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(java.io.RandomAccessFile raf)
           
protected  Tag FlacFileReader.getTag(java.io.RandomAccessFile raf)
           
 FlacTag FlacTagReader.read(java.io.RandomAccessFile raf)
           
 GenericAudioHeader FlacInfoReader.read(java.io.RandomAccessFile raf)
           
 

Uses of CannotReadException in org.jaudiotagger.audio.generic
 

Methods in org.jaudiotagger.audio.generic that throw CannotReadException
 void AudioFileWriter.delete(AudioFile af)
          Delete the tag (if any) present in the given file
 void AudioFileWriter.delete(java.io.RandomAccessFile raf, java.io.RandomAccessFile tempRaf)
          Delete the tag (if any) present in the given randomaccessfile, and do not close it at the end.
protected abstract  void AudioFileWriter.deleteTag(java.io.RandomAccessFile raf, java.io.RandomAccessFile tempRaf)
          Same as above, but delete tag in the file.
protected abstract  GenericAudioHeader AudioFileReader.getEncodingInfo(java.io.RandomAccessFile raf)
           
protected abstract  Tag AudioFileReader.getTag(java.io.RandomAccessFile raf)
           
 AudioFile AudioFileReader.read(java.io.File f)
           
protected abstract  void AudioFileWriter.writeTag(Tag tag, java.io.RandomAccessFile raf, java.io.RandomAccessFile rafTemp)
          This is called when a tag has to be written in a file.
 

Uses of CannotReadException in org.jaudiotagger.audio.mp3
 

Methods in org.jaudiotagger.audio.mp3 that throw CannotReadException
 void MP3FileWriter.delete(AudioFile af)
          Delete the Id3v1 and ID3v2 tags from file
protected  GenericAudioHeader MP3FileReader.getEncodingInfo(java.io.RandomAccessFile raf)
           
protected  Tag MP3FileReader.getTag(java.io.RandomAccessFile raf)
           
 

Uses of CannotReadException in org.jaudiotagger.audio.mp4
 

Methods in org.jaudiotagger.audio.mp4 that throw CannotReadException
 void Mp4AtomTree.buildChildrenOfNode(java.nio.ByteBuffer moovBuffer, javax.swing.tree.DefaultMutableTreeNode parentNode)
           
 javax.swing.tree.DefaultTreeModel Mp4AtomTree.buildTree(java.io.RandomAccessFile raf, boolean closeExit)
          Build a tree of the atoms in the file
protected  GenericAudioHeader Mp4FileReader.getEncodingInfo(java.io.RandomAccessFile raf)
           
protected  Tag Mp4FileReader.getTag(java.io.RandomAccessFile raf)
           
 Mp4Tag Mp4TagReader.read(java.io.RandomAccessFile raf)
           
 GenericAudioHeader Mp4InfoReader.read(java.io.RandomAccessFile raf)
           
 

Constructors in org.jaudiotagger.audio.mp4 that throw CannotReadException
Mp4AtomTree(java.io.RandomAccessFile raf)
          Create Atom Tree
Mp4AtomTree(java.io.RandomAccessFile raf, 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.
 

Uses of CannotReadException in org.jaudiotagger.audio.mp4.atom
 

Methods in org.jaudiotagger.audio.mp4.atom that throw CannotReadException
static void Mp4StcoBox.debugShowStcoInfo(java.io.RandomAccessFile raf)
           
 void Mp4StsdBox.processData()
           
 void Mp4Mp4aBox.processData()
           
 void Mp4MetaBox.processData()
           
 void Mp4HdlrBox.processData()
           
 void Mp4FtypBox.processData()
           
 void Mp4DrmsBox.processData()
          Process direct data
 void Mp4AlacBox.processData()
           
 

Uses of CannotReadException in org.jaudiotagger.audio.ogg
 

Methods in org.jaudiotagger.audio.ogg that throw CannotReadException
private  byte[] OggVorbisTagReader.convertToVorbisCommentPacket(OggPageHeader startVorbisCommentPage, java.io.RandomAccessFile raf)
          The Vorbis Comment may span multiple pages so we we need to identify the pages they contain and then extract the packet data from the pages
 byte[] OggVorbisTagReader.convertToVorbisSetupHeaderPacket(long fileOffsetOfStartingOggPage, java.io.RandomAccessFile raf)
          The Vorbis Setup Header may span multiple(2) pages, athough it doesnt normally.
 byte[] OggVorbisTagReader.convertToVorbisSetupHeaderPacketAndAdditionalPackets(long fileOffsetOfStartingOggPage, java.io.RandomAccessFile raf)
          The Vorbis Setup Header may span multiple(2) pages, athough it doesnt normally.
 void OggVorbisTagWriter.delete(java.io.RandomAccessFile raf, java.io.RandomAccessFile tempRaf)
           
protected  void OggFileWriter.deleteTag(java.io.RandomAccessFile raf, java.io.RandomAccessFile tempRaf)
           
protected  GenericAudioHeader OggFileReader.getEncodingInfo(java.io.RandomAccessFile raf)
           
protected  Tag OggFileReader.getTag(java.io.RandomAccessFile raf)
           
 Tag OggVorbisTagReader.read(java.io.RandomAccessFile raf)
          Read the Logical VorbisComment Tag from the file

 OggPageHeader OggFileReader.readOggPageHeader(java.io.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(java.io.RandomAccessFile raf)
          Calculate the size of the packet data for the comment and setup headers
 int OggVorbisTagReader.readOggVorbisRawSize(java.io.RandomAccessFile raf)
          Retrieve the Size of the VorbisComment packet including the oggvorbis header
 byte[] OggVorbisTagReader.readRawPacketData(java.io.RandomAccessFile raf)
          Retrieve the raw VorbisComment packet data, does not include the OggVorbis header
private  void OggVorbisTagWriter.replacePagesAndRenumberPageSeqs(OggVorbisTagReader.OggVorbisHeaderSizes originalHeaderSizes, int newCommentLength, OggPageHeader secondPageHeader, java.nio.ByteBuffer newComment, java.io.RandomAccessFile raf, java.io.RandomAccessFile rafTemp)
          CommentHeader extends over multiple pages OR Comment Header doesnt but it's got larger causing some extra packets to be shifted onto another page.
private  void OggVorbisTagWriter.replaceSecondPageAndRenumberPageSeqs(OggVorbisTagReader.OggVorbisHeaderSizes originalHeaderSizes, int newCommentLength, int newSecondPageLength, OggPageHeader secondPageHeader, java.nio.ByteBuffer newComment, java.io.RandomAccessFile raf, java.io.RandomAccessFile rafTemp)
          Previously comment and/or setup header was on a number of pages now can just replace this page fitting all on 2nd page, and renumber subsequent sequence pages
 void OggFileReader.shortSummarizeOggPageHeaders(java.io.File oggFile)
          Summarizes the first five pages, normally all we are interested in
 void OggFileReader.summarizeOggPageHeaders(java.io.File oggFile)
          Summarize all the ogg headers in a file

A useful utility function

 void OggVorbisTagWriter.write(Tag tag, java.io.RandomAccessFile raf, java.io.RandomAccessFile rafTemp)
           
 void OggVorbisTagWriter.writeRemainingPages(int pageSequence, java.io.RandomAccessFile raf, java.io.RandomAccessFile rafTemp)
          Write all the remaining pages as they are except that the page sequence needs to be modified.
 void OggVorbisTagWriter.writeRemainingPagesOld(int pageSequence, java.io.RandomAccessFile raf, java.io.RandomAccessFile rafTemp)
           
protected  void OggFileWriter.writeTag(Tag tag, java.io.RandomAccessFile raf, java.io.RandomAccessFile rafTemp)
           
 

Uses of CannotReadException in org.jaudiotagger.audio.ogg.util
 

Methods in org.jaudiotagger.audio.ogg.util that throw CannotReadException
static OggPageHeader OggPageHeader.read(java.nio.ByteBuffer byteBuffer)
          Read next PageHeader from Buffer
static OggPageHeader OggPageHeader.read(java.io.RandomAccessFile raf)
          Read next PageHeader from file
 GenericAudioHeader OggInfoReader.read(java.io.RandomAccessFile raf)
           
 

Uses of CannotReadException in org.jaudiotagger.audio.real
 

Methods in org.jaudiotagger.audio.real that throw CannotReadException
private  RealChunk RealFileReader.findContChunk(java.io.RandomAccessFile raf)
           
private  RealChunk RealFileReader.findPropChunk(java.io.RandomAccessFile raf)
           
protected  GenericAudioHeader RealFileReader.getEncodingInfo(java.io.RandomAccessFile raf)
           
protected  Tag RealFileReader.getTag(java.io.RandomAccessFile raf)
           
static RealChunk RealChunk.readChunk(java.io.RandomAccessFile raf)
           
 

Uses of CannotReadException in org.jaudiotagger.audio.wav
 

Methods in org.jaudiotagger.audio.wav that throw CannotReadException
protected  GenericAudioHeader WavFileReader.getEncodingInfo(java.io.RandomAccessFile raf)
           
protected  Tag WavFileReader.getTag(java.io.RandomAccessFile raf)
           
 

Uses of CannotReadException in org.jaudiotagger.audio.wav.util
 

Methods in org.jaudiotagger.audio.wav.util that throw CannotReadException
 GenericAudioHeader WavInfoReader.read(java.io.RandomAccessFile raf)
           
 

Uses of CannotReadException in org.jaudiotagger.tag.vorbiscomment
 

Methods in org.jaudiotagger.tag.vorbiscomment that throw CannotReadException
 VorbisCommentTag VorbisCommentReader.read(byte[] rawdata, boolean isFramingBit)