public void setAlbum ( String newAlbum ) { if ( newAlbum . length ( ) > ALBUM_SIZE ) { album = newAlbum . substring ( 0 , ALBUM_SIZE ) ; } else { album = newAlbum ; } }
Set the album field of the tag . The maximum size of the String is 30 . If the size exceeds the maximum size the String will be truncated .