wjhk.jupload2.filedata
Class AudioFileData
java.lang.Object
wjhk.jupload2.filedata.DefaultFileData
wjhk.jupload2.filedata.AudioFileData
- All Implemented Interfaces:
- FileData
public class AudioFileData
- extends DefaultFileData
This class contains all data for files to upload an audio file. It adds the
following elements to the FileData
class :
- Pre-earing of audio files
- To be completed
The audio functionalities are taken from the entagged sourceforge project.
The entagged-audioformats.jar is used to generate the sound, within the
applet. To keep the applet jar file small, the entagged jar file is not
embedded into the jupload jar. It is loaded independantly.
To be completed
- Version:
- $Revision: 822 $
- Author:
- etienne_sf
Methods inherited from class wjhk.jupload2.filedata.DefaultFileData |
afterUpload, appendFileProperties, beforeUpload, canRead, getDirectory, getExtension, getFile, getFileExtension, getFileLength, getFileName, getInputStream, getLastModified, getMimeType, getRelativeDir, getRoot, getUploadLength, isPreparedForUpload |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AudioFileData
public AudioFileData(File file,
File root,
UploadPolicy uploadPolicy)
- Creates a new instance.
- Parameters:
file
- The files which data are to be handled by this instance.root
- The root directory, to calculate the relative dir (see
DefaultFileData.getRelativeDir()
.uploadPolicy
- The current upload policy