Examples of MyID3v1


Examples of org.cmc.music.myid3.id3v1.MyID3v1

      throw new IOException(Debug.getDebug("missing values", values));

    if (listener != null)
      listener.log();

    byte id3v1Tag[] = new MyID3v1().toTag(listener, values, strict);
    if (listener != null)
      listener.log("writing id3v1Tag", id3v1Tag == null ? "null" : ""
          + id3v1Tag.length);

    byte id3v2TailTag[] = new MyID3v2Write().toTag(listener, filter, set,
View Full Code Here

Examples of org.cmc.music.myid3.id3v1.MyID3v1

   */
  public void rewriteTags(File src, File dst)
      throws UnsupportedEncodingException, IOException, ID3WriteException
  {
    byte id3v1Tag[] = null;
    ID3Tag tag = new MyID3v1().readID3v1(src, strict);
    if (null != tag)
      id3v1Tag = tag.bytes;

    byte id3v2HeadTag[] = new MyID3v2().readID3v2Head(src, strict);

View Full Code Here

Examples of org.cmc.music.myid3.id3v1.MyID3v1

      if (dst.exists())
        throw new IOException(Debug.getDebug("could not delete dst",
            dst));
    }

    boolean hasId3v1 = new MyID3v1().hasID3v1(src);

    long id3v1Length = hasId3v1 ? ID3_V1_TAG_LENGTH : 0;
    long id3v2HeadLength = new MyID3v2().findID3v2HeadLength(src);
    long id3v2TailLength = new MyID3v2().findID3v2TailLength(src, hasId3v1);
View Full Code Here

Examples of org.cmc.music.myid3.id3v1.MyID3v1

        return null;

      if (!file.getName().toLowerCase().endsWith(".mp3"))
        return null;

      ID3Tag.V1 id3v1 = new MyID3v1().readID3v1(listener, file, strict);
      ID3Tag.V2 id3v2 = new MyID3v2().readID3v2(listener, file,
          id3v1 != null, strict);

      MusicMetadataSet result = MusicMetadataSet.factoryMethod(id3v1,
          id3v2, file.getName(), file.getParentFile().getName());
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.