1 /*
   2  * Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 package com.sun.media.sound;
  26 
  27 /**
  28  * This class is used to store information  to describe soundbanks, instruments
  29  * and samples. It is stored inside a "INFO" List Chunk inside DLS files.
  30  *
  31  * @author Karl Helgason
  32  */
  33 public final class DLSInfo {
  34 
  35     /**
  36      * (INAM) Title or subject.
  37      */
  38     public String name = "untitled";
  39     /**
  40      * (ICRD) Date of creation, the format is: YYYY-MM-DD.
  41      *        For example 2007-01-01 for 1. january of year 2007.
  42      */
  43     public String creationDate = null;
  44     /**
  45      * (IENG) Name of engineer who created the object.
  46      */
  47     public String engineers = null;
  48     /**
  49      * (IPRD) Name of the product which the object is intended for.
  50      */
  51     public String product = null;
  52     /**
  53      * (ICOP) Copyright information.
  54      */
  55     public String copyright = null;
  56     /**
  57      * (ICMT) General comments. Doesn't contain newline characters.
  58      */
  59     public String comments = null;
  60     /**
  61      * (ISFT) Name of software package used to create the file.
  62      */
  63     public String tools = null;
  64     /**
  65      * (IARL) Where content is archived.
  66      */
  67     public String archival_location = null;
  68     /**
  69      * (IART) Artists of original content.
  70      */
  71     public String artist = null;
  72     /**
  73      * (ICMS) Names of persons or orginizations who commissioned the file.
  74      */
  75     public String commissioned = null;
  76     /**
  77      * (IGNR) Genre of the work.
  78      *        Example: jazz, classical, rock, etc.
  79      */
  80     public String genre = null;
  81     /**
  82      * (IKEY) List of keyword that describe the content.
  83      *        Examples: FX, bird, piano, etc.
  84      */
  85     public String keywords = null;
  86     /**
  87      * (IMED) Describes original medium of the data.
  88      *        For example: record, CD, etc.
  89      */
  90     public String medium = null;
  91     /**
  92      * (ISBJ) Description of the content.
  93      */
  94     public String subject = null;
  95     /**
  96      * (ISRC) Name of person or orginization who supplied
  97      *        orginal material for the file.
  98      */
  99     public String source = null;
 100     /**
 101      * (ISRF) Source media for sample data is from.
 102      *        For example: CD, TV, etc.
 103      */
 104     public String source_form = null;
 105     /**
 106      * (ITCH) Technician who sample the file/object.
 107      */
 108     public String technician = null;
 109 }