|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.jhu.tmaj.util.FileDataUtils
public final class FileDataUtils
| Method Summary | |
|---|---|
static byte[] |
fileToBytes(java.io.File file)
|
static long |
getChecksum(byte[] bytes)
|
static long |
getChecksum(java.io.File file)
|
static void |
writeBytesToFile(byte[] bytes,
java.io.File file)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static byte[] fileToBytes(java.io.File file)
throws java.io.IOException
java.io.IOException
public static long getChecksum(java.io.File file)
throws java.io.IOException
java.io.IOExceptionpublic static long getChecksum(byte[] bytes)
public static void writeBytesToFile(byte[] bytes,
java.io.File file)
throws java.io.IOException
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||