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 26 package com.sun.media.sound; 27 28 /** 29 * This class is used to store information to describe soundbanks, instruments 30 * and samples. It is stored inside a "INFO" List Chunk inside DLS files. 31 * 32 * @author Karl Helgason 33 */ 34 public final class DLSInfo { 35 36 /** 37 * (INAM) Title or subject. 38 */ 39 public String name = "untitled"; 40 /** 41 * (ICRD) Date of creation, the format is: YYYY-MM-DD. 42 * For example 2007-01-01 for 1. january of year 2007. 43 */ 44 public String creationDate = null; 45 /** 46 * (IENG) Name of engineer who created the object. 47 */ 48 public String engineers = null; 49 /** 50 * (IPRD) Name of the product which the object is intended for. 51 */ 52 public String product = null; 53 /** 54 * (ICOP) Copyright information. 55 */ 56 public String copyright = null; 57 /** 58 * (ICMT) General comments. Doesn't contain newline characters. 59 */ 60 public String comments = null; 61 /** 62 * (ISFT) Name of software package used to create the file. 63 */ 64 public String tools = null; 65 /** 66 * (IARL) Where content is archived. 67 */ 68 public String archival_location = null; 69 /** 70 * (IART) Artists of original content. 71 */ 72 public String artist = null; 73 /** 74 * (ICMS) Names of persons or orginizations who commissioned the file. 75 */ 76 public String commissioned = null; 77 /** 78 * (IGNR) Genre of the work. 79 * Example: jazz, classical, rock, etc. 80 */ 81 public String genre = null; 82 /** 83 * (IKEY) List of keyword that describe the content. 84 * Examples: FX, bird, piano, etc. 85 */ 86 public String keywords = null; 87 /** 88 * (IMED) Describes original medium of the data. 89 * For example: record, CD, etc. 90 */ 91 public String medium = null; 92 /** 93 * (ISBJ) Description of the content. 94 */ 95 public String subject = null; 96 /** 97 * (ISRC) Name of person or orginization who supplied 98 * original material for the file. 99 */ 100 public String source = null; 101 /** 102 * (ISRF) Source media for sample data is from. 103 * For example: CD, TV, etc. 104 */ 105 public String source_form = null; 106 /** 107 * (ITCH) Technician who sample the file/object. 108 */ 109 public String technician = null; 110 } 111