org.openuat.sensors.test
Class DataFilesHelper

java.lang.Object
  extended by org.openuat.sensors.test.DataFilesHelper

public class DataFilesHelper
extends java.lang.Object


Constructor Summary
DataFilesHelper()
           
 
Method Summary
static int determineDataSetLength(java.lang.String filename)
          This helper function returns the length of the data set in seconds.
static java.lang.String[] getTestFiles(java.lang.String directory)
          This is a small helper to get all *.gz files from a directory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataFilesHelper

public DataFilesHelper()
Method Detail

getTestFiles

public static java.lang.String[] getTestFiles(java.lang.String directory)
This is a small helper to get all *.gz files from a directory.


determineDataSetLength

public static int determineDataSetLength(java.lang.String filename)
                                  throws java.io.FileNotFoundException,
                                         java.io.IOException
This helper function returns the length of the data set in seconds.

Throws:
java.io.FileNotFoundException
java.io.IOException


2005-2009, Rene Mayrhofer.