Package berlin.yuna.wiserjunit.logic
Class FileUtils
- java.lang.Object
-
- berlin.yuna.wiserjunit.logic.FileUtils
-
public class FileUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Optional<Path>
findFileByName(Path workDir, String name)
static Optional<Path>
getPhysicalPath(Path workDir, Class<?> clazz)
static <T> Optional<T>
readFile(Path file, Class<T> type, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
static Optional<String>
readLine(Path file, int threshold, int lineCount)
static String
removeExtension(String fileName)
static Optional<Path>
validatePath(Path path)
-