as.clynx.util
Class Util

java.lang.Object
  extended by as.clynx.util.Util

public class Util
extends java.lang.Object

Version:
cLynx v.1.2, JDK 6.0: 12.10.2007
Author:
Andreas Senfter - andreas@senfters.com

Constructor Summary
Util()
           
 
Method Summary
static boolean isPcm(javax.sound.sampled.AudioFormat.Encoding encoding)
          checks if the format is pcm format
static java.util.Set<java.lang.String> loadSupportedAudioExtensions()
          loads the supported file extensions to a hashset. the resulting set is passed to a filefilter, so that only files with that extension aree allowed to be evaluated.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

isPcm

public static boolean isPcm(javax.sound.sampled.AudioFormat.Encoding encoding)
checks if the format is pcm format

Parameters:
encoding -
Returns:
true if format is pcm else false

loadSupportedAudioExtensions

public static java.util.Set<java.lang.String> loadSupportedAudioExtensions()
loads the supported file extensions to a hashset. the resulting set is passed to a filefilter, so that only files with that extension aree allowed to be evaluated. (only for standallone mode)

Returns:
a set of al supported fileextensions.