Coverage Report - org.jaudiotagger.tag.lyrics3.FieldFrameBodyINF
 
Classes in this File Line Coverage Branch Coverage Complexity
FieldFrameBodyINF
0%
0/16
N/A
1
 
 1  
 /**
 2  
  *  @author : Paul Taylor
 3  
  *  @author : Eric Farng
 4  
  *
 5  
  *  Version @version:$Id: FieldFrameBodyINF.java,v 1.8 2008/07/21 10:45:49 paultaylor Exp $
 6  
  *
 7  
  *  MusicTag Copyright (C)2003,2004
 8  
  *
 9  
  *  This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser
 10  
  *  General Public  License as published by the Free Software Foundation; either version 2.1 of the License,
 11  
  *  or (at your option) any later version.
 12  
  *
 13  
  *  This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
 14  
  *  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 15  
  *  See the GNU Lesser General Public License for more details.
 16  
  *
 17  
  *  You should have received a copy of the GNU Lesser General Public License along with this library; if not,
 18  
  *  you can get a copy from http://www.opensource.org/licenses/lgpl-license.php or write to the Free Software
 19  
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 20  
  *
 21  
  * Description:
 22  
  */
 23  
 package org.jaudiotagger.tag.lyrics3;
 24  
 
 25  
 import org.jaudiotagger.tag.InvalidTagException;
 26  
 import org.jaudiotagger.tag.datatype.StringSizeTerminated;
 27  
 
 28  
 import java.nio.ByteBuffer;
 29  
 
 30  
 public class FieldFrameBodyINF extends AbstractLyrics3v2FieldFrameBody
 31  
 {
 32  
     /**
 33  
      * Creates a new FieldBodyINF datatype.
 34  
      */
 35  
     public FieldFrameBodyINF()
 36  0
     {
 37  
         //        this.setObject("Additional Information", "");
 38  0
     }
 39  
 
 40  
     public FieldFrameBodyINF(FieldFrameBodyINF body)
 41  
     {
 42  0
         super(body);
 43  0
     }
 44  
 
 45  
     /**
 46  
      * Creates a new FieldBodyINF datatype.
 47  
      *
 48  
      * @param additionalInformation
 49  
      */
 50  
     public FieldFrameBodyINF(String additionalInformation)
 51  0
     {
 52  0
         this.setObjectValue("Additional Information", additionalInformation);
 53  0
     }
 54  
 
 55  
     /**
 56  
      * Creates a new FieldBodyINF datatype.
 57  
      */
 58  
     public FieldFrameBodyINF(ByteBuffer byteBuffer) throws InvalidTagException
 59  0
     {
 60  0
         this.read(byteBuffer);
 61  
 
 62  0
     }
 63  
 
 64  
     /**
 65  
      * @param additionalInformation
 66  
      */
 67  
     public void setAdditionalInformation(String additionalInformation)
 68  
     {
 69  0
         setObjectValue("Additional Information", additionalInformation);
 70  0
     }
 71  
 
 72  
     /**
 73  
      * @return
 74  
      */
 75  
     public String getAdditionalInformation()
 76  
     {
 77  0
         return (String) getObjectValue("Additional Information");
 78  
     }
 79  
 
 80  
     /**
 81  
      * @return
 82  
      */
 83  
     public String getIdentifier()
 84  
     {
 85  0
         return "INF";
 86  
     }
 87  
 
 88  
     /**
 89  
      *
 90  
      */
 91  
     protected void setupObjectList()
 92  
     {
 93  0
         objectList.add(new StringSizeTerminated("Additional Information", this));
 94  0
     }
 95  
 }