1 //
2 // $Id: AudioFileData.java 1715 2015-03-10 19:59:42Z etienne_sf $
3 //
4 // jupload - A file upload applet.
5 // Copyright 2007 The JUpload Team
6 //
7 // Created: 2007-01-19
8 // Creator: etienne_sf
9 // Last modified: $Date: 2015-03-10 20:59:42 +0100 (mar., 10 mars 2015) $
10 //
11 // This program is free software; you can redistribute it and/or modify it under
12 // the terms of the GNU General Public License as published by the Free Software
13 // Foundation; either version 2 of the License, or (at your option) any later
14 // version. This program is distributed in the hope that it will be useful, but
15 // WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
17 // details. You should have received a copy of the GNU General Public License
18 // along with this program; if not, write to the Free Software Foundation, Inc.,
19 // 675 Mass Ave, Cambridge, MA 02139, USA.
20
21 package wjhk.jupload2.filedata;
22
23 import java.io.File;
24
25 import wjhk.jupload2.policies.UploadPolicy;
26
27 /**
28 * <P>
29 * This class is empty, and unused. May be for a future release...
30 * </P>
31 * This class contains all data for files to upload an audio file. It adds the following elements to the
32 * {@link wjhk.jupload2.filedata.FileData} class :<BR>
33 * <UL>
34 * <LI>Pre-earing of audio files
35 * <LI>To be completed
36 * </UL>
37 * <BR>
38 * <BR>
39 * The audio functionalities are taken from the entagged sourceforge project. The entagged-audioformats.jar is used to
40 * generate the sound, within the applet. To keep the applet jar file small, the entagged jar file is not embedded into
41 * the jupload jar. It is loaded independantly. <BR>
42 * <BR>
43 * To be completed
44 *
45 * @author etienne_sf
46 * @version $Revision: 1715 $
47 */
48 @Deprecated
49 public class AudioFileData extends DefaultFileData {
50
51 /**
52 * Creates a new instance.
53 *
54 * @param file The files which data are to be handled by this instance.
55 * @param root The root directory, to calculate the relative dir (see {@link #getRelativeDir()}.
56 * @param uploadPolicy The current upload policy
57 */
58 public AudioFileData(File file, UploadPolicy uploadPolicy) {
59 super(file, uploadPolicy);
60 }
61
62 }