public void updateFrameData ( String id , byte [ ] data ) { if ( frames . containsKey ( id ) ) { ( ( ID3v2Frame ) frames . get ( id ) ) . setFrameData ( data ) ; } else { ID3v2Frame frame = new ID3v2Frame ( id , data ) ; frames . put ( id , frame ) ; } updateSize ( ) ; }
Updates the data for the frame specified by id . If no frame exists for the id specified a new frame with that id is created .