equal
deleted
inserted
replaced
3299 public static List<String> readAllLines(Path path) throws IOException { |
3299 public static List<String> readAllLines(Path path) throws IOException { |
3300 return readAllLines(path, StandardCharsets.UTF_8); |
3300 return readAllLines(path, StandardCharsets.UTF_8); |
3301 } |
3301 } |
3302 |
3302 |
3303 /** |
3303 /** |
3304 * Writes bytes to a file. The {@code options} parameter specifies how the |
3304 * Writes bytes to a file. The {@code options} parameter specifies how |
3305 * the file is created or opened. If no options are present then this method |
3305 * the file is created or opened. If no options are present then this method |
3306 * works as if the {@link StandardOpenOption#CREATE CREATE}, {@link |
3306 * works as if the {@link StandardOpenOption#CREATE CREATE}, {@link |
3307 * StandardOpenOption#TRUNCATE_EXISTING TRUNCATE_EXISTING}, and {@link |
3307 * StandardOpenOption#TRUNCATE_EXISTING TRUNCATE_EXISTING}, and {@link |
3308 * StandardOpenOption#WRITE WRITE} options are present. In other words, it |
3308 * StandardOpenOption#WRITE WRITE} options are present. In other words, it |
3309 * opens the file for writing, creating the file if it doesn't exist, or |
3309 * opens the file for writing, creating the file if it doesn't exist, or |