public class FileLogger extends Object
| Constructor and Description |
|---|
FileLogger() |
| Modifier and Type | Method and Description |
|---|---|
static void |
appendToFile(File file,
List<String> lines) |
static void |
appendToFile(File file,
String... lines) |
static int |
getIndentation(String line) |
static void |
logToFile(File file,
List<String> lines) |
static List<String> |
readContents(File file) |
public static void appendToFile(File file, String... lines) throws IOException
IOExceptionpublic static void logToFile(File file, List<String> lines) throws IOException
IOExceptionpublic static void appendToFile(File file, List<String> lines) throws IOException
IOExceptionpublic static List<String> readContents(File file) throws IOException
IOExceptionpublic static int getIndentation(String line)
Copyright © 2018. All rights reserved.