public class AudioUtil
extends java.lang.Object
| Constructor and Description | 
|---|
AudioUtil()  | 
| Modifier and Type | Method and Description | 
|---|---|
static javax.sound.sampled.Clip | 
getClip(java.io.File file)
Returns the clip of the given audio file. 
 | 
static long | 
getDuration(java.io.File file)
Returns the duration of the audio file in millisecond. 
 | 
static java.util.Map | 
getMetaData(java.io.File file)
Returns the meta data of the given audio file. 
 | 
static void | 
main(java.lang.String[] args)  | 
public static java.util.Map getMetaData(java.io.File file)
file - the file to processpublic static long getDuration(java.io.File file)
file - the file to processpublic static javax.sound.sampled.Clip getClip(java.io.File file)
file - the file to processpublic static void main(java.lang.String[] args)
                 throws java.lang.Exception
java.lang.ExceptionCopyright © 2001-2018 Jalios SA. All Rights Reserved.