Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/tuneology/avm/DiscInfo.java


1   /*
2     DiscInfo.java
3   
4     Copyright (C) 2002 Fran Taylor
5   
6      This file is part of java-avm.
7   
8      java-avm is free software; you can redistribute it and/or modify it
9      under the terms of the GNU Lesser General Public License as
10     published by the Free Software Foundation; either version 2 of the
11     License, or (at your option) any later version.
12  
13     java-avm is distributed in the hope that it will be useful, but
14     WITHOUT ANY WARRANTY; without even the implied warranty of
15     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16     Lesser General Public License for more details.
17  
18     You should have received a copy of the GNU Lesser General Public
19     License along with java-avm; if not, write to the Free Software
20     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
21     USA
22  
23    $Id: DiscInfo.java,v 1.2 2002/09/25 15:43:42 xnarf Exp $
24  
25  */
26  
27  package com.tuneology.avm;
28  
29  /** 
30   * Describes the contents of a CD.
31   *
32   * @version $Id: DiscInfo.java,v 1.2 2002/09/25 15:43:42 xnarf Exp $
33   * 
34   * @author Fran Taylor
35   */
36  public class DiscInfo {
37      public DiscInfo() { }
38      public int leadin;
39      /** bits to indicate status of drive and media */
40      public int flags;
41      /** the type of filesystem on the disc, with flags */
42      public int fs;
43      /** the size of filesystem on the disc, in blocks */
44      public int fsSize;
45      public int jolietLevel;
46      /** Media Catalog Number, if present and read */
47      public String mcn;
48      /** the discid as required for freedb */
49      public int discId;
50      /** the discid as required for cdindex */
51      public String cdindexId;
52      /** the index of the beginning of the ISO 9660 volume on a CD-Extra disc */
53      public int extraStart;
54      /** the sum of the lengths of all the audio tracks */
55      public int audioLength;
56      /** the last index on the disc */
57      public int leadout;
58      /** the table of audio contents */
59      public TocEntry[] tocs;
60      /** the ISO9660 Volume Label String */
61      public String volName;
62      /** the list of tracks as required for freedb */
63      public String trackString;
64      /** total audio playing time in 1/75 sec */
65      public int playTime;
66      /** cddb info */
67      public String artist;
68      /** album name */
69      public String album;
70      /** year of publishing */
71      public int year;
72      /** a comment */
73      public String comment;
74      /** hopefully an ID3 comment if you want it written to an MP3 file */
75      public String genre;
76      /** from Cd-TEXt info */
77      public String arranger;
78      /** from Cd-TEXt info */
79      public String songwriter;
80      /** true if there is more than one artist */
81      public boolean multiArtist;
82      /** true if this information had been set */
83      public boolean initialized;
84  }
85  
86  /*
87    Local Variables:
88    mode:java
89    indent-tabs-mode:nil 
90    c-basic-offset:4 
91    c-indent-level:4 
92    c-continued-statement-offset:4 
93    c-brace-offset:-4 
94    c-brace-imaginary-offset:-4 
95    c-argdecl-indent:0
96    c-label-offset:0
97    End:
98  */