ID3 manipulation for Java