public class FileUtils extends Object
| Constructor and Description |
|---|
FileUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
createDirectories(String pathname) |
static boolean |
isSameFile(Path p1,
Path p2) |
static String |
pathname(File file) |
static Optional<String> |
readFile(Path path,
Charset encoding) |
static boolean |
writeFile(Path path,
byte[] bytes,
StandardOpenOption... options) |
public static boolean writeFile(Path path, byte[] bytes, StandardOpenOption... options)
Copyright © 2019. All rights reserved.