edu.jhu.tmaj.util.file
Interface FileUtil
- All Known Implementing Classes:
- FileUtilImpl
public interface FileUtil
Method Summary |
void |
copyFile(java.io.File source,
java.io.File target)
|
byte[] |
readBinaryFile(java.io.File file)
|
java.util.List<java.lang.String> |
readTextFile(java.io.File file)
|
java.io.File |
renameFile(java.io.File file,
java.lang.String newName)
|
void |
writeBinaryFile(java.io.File file,
byte[] bytes)
|
void |
writeTextFile(java.io.File file,
java.util.List<java.lang.String> lines)
|
copyFile
void copyFile(java.io.File source,
java.io.File target)
renameFile
java.io.File renameFile(java.io.File file,
java.lang.String newName)
readTextFile
java.util.List<java.lang.String> readTextFile(java.io.File file)
readBinaryFile
byte[] readBinaryFile(java.io.File file)
writeTextFile
void writeTextFile(java.io.File file,
java.util.List<java.lang.String> lines)
writeBinaryFile
void writeBinaryFile(java.io.File file,
byte[] bytes)