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