com.tekann.codegen.pda.util
Class FileUtil

java.lang.Object
  extended by com.tekann.codegen.pda.util.FileUtil

public class FileUtil
extends java.lang.Object

Utilities for I/O.

Author:
evandro

Constructor Summary
FileUtil()
           
 
Method Summary
static byte[] getFileData(java.lang.String filePath)
          Get file data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileUtil

public FileUtil()
Method Detail

getFileData

public static byte[] getFileData(java.lang.String filePath)
                          throws totalcross.io.IllegalArgumentIOException,
                                 totalcross.io.IOException
Get file data.

Parameters:
filePath - File path.
Returns:
A byte array
Throws:
totalcross.io.IllegalArgumentIOException
totalcross.io.IOException