Package entagged.audioformats.mp3.util

Examples of entagged.audioformats.mp3.util.Mp3InfoReader


    // Text frames
    if (field.startsWith("T") && !field.startsWith("TX")) {
      if (field.equalsIgnoreCase("TDRC")) {
        return new TimeId3Frame(field, data, version);
      }
      return new TextId3Frame(field, data, version);
    }
    // Comment
    else if (field.startsWith("COMM"))
      return new CommId3Frame(data, version);
    // Universal file id
View Full Code Here


   * (overridden)
   *
   * @see entagged.audioformats.generic.AbstractTag#createAlbumField(java.lang.String)
   */
  protected TagField createAlbumField(String content) {
    return new TextId3Frame("TALB", content);
  }
View Full Code Here

   * (overridden)
   *
   * @see entagged.audioformats.generic.AbstractTag#createArtistField(java.lang.String)
   */
  protected TagField createArtistField(String content) {
    return new TextId3Frame("TPE1", content);
  }
View Full Code Here

   * (overridden)
   *
   * @see entagged.audioformats.generic.AbstractTag#createGenreField(java.lang.String)
   */
  protected TagField createGenreField(String content) {
    return new TextId3Frame("TCON", content);
  }
View Full Code Here

   * (overridden)
   *
   * @see entagged.audioformats.generic.AbstractTag#createTitleField(java.lang.String)
   */
  protected TagField createTitleField(String content) {
    return new TextId3Frame("TIT2", content);
  }
View Full Code Here

   * (overridden)
   *
   * @see entagged.audioformats.generic.AbstractTag#createTrackField(java.lang.String)
   */
  protected TagField createTrackField(String content) {
    return new TextId3Frame("TRCK", content);
  }
View Full Code Here

   * (overridden)
   *
   * @see entagged.audioformats.generic.AbstractTag#createYearField(java.lang.String)
   */
  protected TagField createYearField(String content) {
    return new TextId3Frame("TDRC", content);
  }
View Full Code Here

      String currentId = current.getId();
      String conv = (String) conversion22to23.get(currentId);
      if (currentId.equals(conv)) {
        fields.remove();
        if (current instanceof TextId3Frame) {
          source.add(new TextId3Frame(conv, ((TextId3Frame) current)
              .getContent()));
        }
      }
    }
    source.setRepresentedVersion(Id3v2Tag.ID3V23);
View Full Code Here

            return "";
        }
    }

    private TagField createTextFrame(String id, String content) {
        TextId3Frame tag = new TextId3Frame(id, content);
        tag.setEncoding("UTF-8");
        return tag;
    }
View Full Code Here

      field = convertFromId3v22(field);

    // Text frames
    if (field.startsWith("T") && !field.startsWith("TX")) {
      if (field.equalsIgnoreCase("TDRC")) {
        return new TimeId3Frame(field, data, version);
      }
      return new TextId3Frame(field, data, version);
    }
    // Comment
    else if (field.startsWith("COMM"))
View Full Code Here

TOP

Related Classes of entagged.audioformats.mp3.util.Mp3InfoReader

Copyright © 2018 www.massapicom. 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.