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

Packages that use CannotWriteException
org.jaudiotagger.audio   
org.jaudiotagger.audio.asf   
org.jaudiotagger.audio.flac   
org.jaudiotagger.audio.generic   
org.jaudiotagger.audio.mp3   
org.jaudiotagger.audio.mp4   
org.jaudiotagger.audio.ogg   
org.jaudiotagger.audio.wav   
 

Uses of CannotWriteException in org.jaudiotagger.audio
 

Methods in org.jaudiotagger.audio that throw CannotWriteException
 void AudioFile.commit()
          Write the tag contained in this AudioFile in the actual file on the disk, this is the same as calling the AudioFileIO.write(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 void AudioFileIO.write(AudioFile f)
          

Write the tag contained in the audiofile in the actual file on the disk.

 void AudioFileIO.writeFile(AudioFile f)
          

Write the tag contained in the audiofile in the actual file on the disk.

 

Uses of CannotWriteException in org.jaudiotagger.audio.asf
 

Methods in org.jaudiotagger.audio.asf that throw CannotWriteException
protected  void AsfFileWriter.deleteTag(java.io.RandomAccessFile raf, java.io.RandomAccessFile tempRaf)
          Same as above, but delete tag in the file.
protected  void AsfFileWriter.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 CannotWriteException in org.jaudiotagger.audio.flac
 

Methods in org.jaudiotagger.audio.flac that throw CannotWriteException
 void FlacTagWriter.delete(java.io.RandomAccessFile raf, java.io.RandomAccessFile tempRaf)
          Delete Tag from file
protected  void FlacFileWriter.deleteTag(java.io.RandomAccessFile raf, java.io.RandomAccessFile tempRaf)
           
 void FlacTagWriter.write(Tag tag, java.io.RandomAccessFile raf, java.io.RandomAccessFile rafTemp)
          Write tag to file
protected  void FlacFileWriter.writeTag(Tag tag, java.io.RandomAccessFile raf, java.io.RandomAccessFile rafTemp)
           
 

Uses of CannotWriteException in org.jaudiotagger.audio.generic
 

Methods in org.jaudiotagger.audio.generic that throw CannotWriteException
 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.
private  void AudioFileWriter.precheckWrite(AudioFile af)
          Prechecks before normal write

If the tag is actually empty, remove the tag if the file is not writable, throw exception If the file is too small to be a valid file, throw exception

 void AudioFileWriter.write(AudioFile af)
          Write the tag (if not empty) present in the AudioFile in the associated File
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 CannotWriteException in org.jaudiotagger.audio.mp3
 

Methods in org.jaudiotagger.audio.mp3 that throw CannotWriteException
 void MP3File.commit()
          Overriden for comptability with merged code
 void MP3FileWriter.delete(AudioFile af)
          Delete the Id3v1 and ID3v2 tags from file
 void MP3FileWriter.deleteTag(AudioFile f)
           
protected  void MP3FileWriter.deleteTag(java.io.RandomAccessFile raf, java.io.RandomAccessFile tempRaf)
           
 void MP3FileWriter.writeFile(AudioFile f)
           
protected  void MP3FileWriter.writeTag(Tag tag, java.io.RandomAccessFile raf, java.io.RandomAccessFile rafTemp)
           
 

Uses of CannotWriteException in org.jaudiotagger.audio.mp4
 

Methods in org.jaudiotagger.audio.mp4 that throw CannotWriteException
private  void Mp4TagWriter.checkFileWrittenCorrectly(java.io.RandomAccessFile rafTemp, Mp4BoxHeader mdatHeader, java.nio.channels.FileChannel fileWriteChannel, Mp4StcoBox stco)
          Check File Written Correctly
 void Mp4TagWriter.write(Tag tag, java.io.RandomAccessFile raf, java.io.RandomAccessFile rafTemp)
          Write tag to rafTemp file
private  void Mp4TagWriter.writeMetadataSameSize(java.nio.ByteBuffer rawIlstData, long oldIlstSize, long startIstWithinFile, java.nio.channels.FileChannel fileReadChannel, java.nio.channels.FileChannel fileWriteChannel)
          Replace the ilst metadata

Because it is the same size as the original data nothing else has to be modified

protected  void Mp4FileWriter.writeTag(Tag tag, java.io.RandomAccessFile raf, java.io.RandomAccessFile rafTemp)
           
 

Uses of CannotWriteException in org.jaudiotagger.audio.ogg
 

Methods in org.jaudiotagger.audio.ogg that throw CannotWriteException
 void OggVorbisTagWriter.delete(java.io.RandomAccessFile raf, java.io.RandomAccessFile tempRaf)
           
protected  void OggFileWriter.deleteTag(java.io.RandomAccessFile raf, java.io.RandomAccessFile tempRaf)
           
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 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 CannotWriteException in org.jaudiotagger.audio.wav
 

Methods in org.jaudiotagger.audio.wav that throw CannotWriteException
protected  void WavFileWriter.deleteTag(java.io.RandomAccessFile raf, java.io.RandomAccessFile tempRaf)
           
protected  void WavFileWriter.writeTag(Tag tag, java.io.RandomAccessFile raf, java.io.RandomAccessFile rafTemp)