Examples of VorbisCommentFieldKey


Examples of org.jaudiotagger.tag.vorbiscomment.VorbisCommentFieldKey

     *
     * @param genericKey
     */
    @Override
    public List<TagField> getFields(FieldKey genericKey) throws KeyNotFoundException {
        VorbisCommentFieldKey vorbisCommentFieldKey = tagFieldToOggField.get(genericKey);
        if (vorbisCommentFieldKey == null) {
            throw new KeyNotFoundException();
        }
        List<TagField> tagFields = super.getFields(vorbisCommentFieldKey.getFieldName());
        if (tagFields == null || tagFields.isEmpty()) {
            vorbisCommentFieldKey = alternatives.get(genericKey);
            tagFields = super.getFields(vorbisCommentFieldKey.getFieldName());
        }
        return tagFields;
    }
View Full Code Here

Examples of org.jaudiotagger.tag.vorbiscomment.VorbisCommentFieldKey

        }
        return super.getFields(vorbisCommentKey.getFieldName());
    }

    public String getValue(FieldKey genericKey, int index) throws KeyNotFoundException {
        VorbisCommentFieldKey vorbisCommentFieldKey = tagFieldToOggField.get(genericKey);
        if (vorbisCommentFieldKey == null) {
            throw new KeyNotFoundException();
        }
        String item = super.getItem(vorbisCommentFieldKey.getFieldName(), index);
        if (item == null || item.isEmpty()) {
            vorbisCommentFieldKey = alternatives.get(genericKey);
            item = super.getItem(vorbisCommentFieldKey.getFieldName(), index);
        }
        return item;
    }
View Full Code Here

Examples of org.jaudiotagger.tag.vorbiscomment.VorbisCommentFieldKey

     */
    public void deleteField(FieldKey genericKey) throws KeyNotFoundException {
        if (genericKey == null) {
            throw new KeyNotFoundException();
        }
        VorbisCommentFieldKey vorbisCommentFieldKey = tagFieldToOggField.get(genericKey);
        deleteField(vorbisCommentFieldKey);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.