private VorbisTagCreator tc = new VorbisTagCreator();
private VorbisTagReader reader = new VorbisTagReader();
public void delete(RandomAccessFile raf, RandomAccessFile tempRaf) throws IOException, CannotWriteException {
OggTag tag = null;
try {
tag = (OggTag) reader.read(raf);
} catch(CannotReadException e) {
write(new OggTag(), raf, tempRaf);
return;
}
OggTag emptyTag = new OggTag();
emptyTag.setVendor(tag.getVendor());
write(emptyTag, raf, tempRaf);
}