|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.tekann.codegen.pda.util.FileUtil
public class FileUtil
Utilities for I/O.
| Constructor Summary | |
|---|---|
FileUtil()
|
|
| Method Summary | |
|---|---|
static totalcross.io.ByteArrayStream |
getFileData(totalcross.io.File file)
Read the file data from the given File. |
static totalcross.io.ByteArrayStream |
getFileData(totalcross.io.File file,
boolean delete)
Read the file data from the given File. |
static totalcross.io.ByteArrayStream |
getFileData(java.lang.String filePath)
Get file data using a ByteArrayStream to read its data. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileUtil()
| Method Detail |
|---|
public static totalcross.io.ByteArrayStream getFileData(java.lang.String filePath)
throws totalcross.io.IllegalArgumentIOException,
totalcross.io.IOException
filePath - File path.
totalcross.io.IllegalArgumentIOException
totalcross.io.IOException
public static totalcross.io.ByteArrayStream getFileData(totalcross.io.File file)
throws totalcross.io.IllegalArgumentIOException,
totalcross.io.IOException
file -
totalcross.io.IllegalArgumentIOException
totalcross.io.IOException
public static totalcross.io.ByteArrayStream getFileData(totalcross.io.File file,
boolean delete)
throws totalcross.io.IllegalArgumentIOException,
totalcross.io.IOException
file - delete -
totalcross.io.IllegalArgumentIOException
totalcross.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||