public class WavTagWriter extends Object
Constructor and Description |
---|
WavTagWriter(String loggingName) |
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
convertID3Chunk(WavTag tag,
WavTag existingTag)
Converts ID3tag to
ByteBuffer . |
ByteBuffer |
convertInfoChunk(WavTag tag)
Converts INfO tag to
ByteBuffer . |
void |
delete(Tag tag,
Path file)
Delete any existing metadata tags from files
|
void |
write(Tag tag,
Path file) |
public static Logger logger
public WavTagWriter(String loggingName)
public void delete(Tag tag, Path file) throws CannotWriteException
tag
- file
- IOException
CannotWriteException
public void write(Tag tag, Path file) throws CannotWriteException
tag
- file
- CannotWriteException
public ByteBuffer convertInfoChunk(WavTag tag) throws UnsupportedEncodingException
ByteBuffer
.tag
- tagUnsupportedEncodingException
public ByteBuffer convertID3Chunk(WavTag tag, WavTag existingTag) throws UnsupportedEncodingException
ByteBuffer
.tag
- tag containing ID3tagUnsupportedEncodingException
Copyright © 2005–2020 jthink.net. All rights reserved.