|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.uadetector.internal.util.FileUtil
public final class FileUtil
This class is intended to provide file utility functions.
Method Summary | |
---|---|
static boolean |
isEmpty(java.io.File file,
java.nio.charset.Charset charset)
Checks if the given file is empty. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean isEmpty(java.io.File file, java.nio.charset.Charset charset) throws java.io.IOException
file
- the file that could be empty
true
when the file is accessible and empty otherwise false
java.io.IOException
- if an I/O error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |