Package org.cmc.music.common

Examples of org.cmc.music.common.ID3FrameType


      MyID3v2Frame oldFrame = (MyID3v2Frame) old_frames.get(i);

      String longFrameID;
      Number frameOrder;
      {
        ID3FrameType frame_type = ID3FrameType.get(oldFrame.frameID);
        if (frame_type != null)
        {
          longFrameID = frame_type.longID;
          frameOrder = frame_type.getFrameOrder();
        } else if (oldFrame.frameID.length() == 4)
        {
          longFrameID = oldFrame.frameID;
          frameOrder = ID3FrameType.DEFAULT_FRAME_ORDER;
        } else
View Full Code Here


  private static class FrameFactory implements IFrameFactory
  {
    public ID3v2OutputFrame createUserTextFrame(String value1, String value2)
        throws UnsupportedEncodingException, IOException
    {
      ID3FrameType frameType = ID3FrameType.USERTEXT;
      String longFrameID = frameType.longID;
      Number frameOrder = frameType.getFrameOrder();
      return toFrameText(longFrameID, frameOrder, value1, value2);
    }
View Full Code Here

    }

    public ID3v2OutputFrame createCommentFrame(String value)
        throws UnsupportedEncodingException, IOException
    {
      ID3FrameType frameType = ID3FrameType.COMMENT;
      String longFrameID = frameType.longID;
      Number frameOrder = frameType.getFrameOrder();
      return toFrameCOMM(longFrameID, frameOrder, value);
    }
View Full Code Here

    }

    public ID3v2OutputFrame createPictureFrame(ImageData imageData)
        throws UnsupportedEncodingException, IOException
    {
      ID3FrameType frameType = ID3FrameType.PICTURE;
      String longFrameID = frameType.longID;
      Number frameOrder = frameType.getFrameOrder();
      return toFrameImage(longFrameID, frameOrder, imageData);
    }
View Full Code Here

TOP

Related Classes of org.cmc.music.common.ID3FrameType

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.