public class FileSystemHelpers extends Object
| Constructor and Description |
|---|
FileSystemHelpers() |
| Modifier and Type | Method and Description |
|---|---|
static ArrayList<File> |
getJavaFilesOfFolderRecursively(String folderName)
Finds all the java files of a folder and all its subfolders recursively.
|
static String |
getRelativePath(String base,
String path)
Returns a relative path given two paths, a base on and the one to be relativized.
|
static String |
readFileToString(String filename)
Reads a file into a string.
|
public static String readFileToString(String filename)
filename - the filename of the file to be read.public static ArrayList<File> getJavaFilesOfFolderRecursively(String folderName)
folderName - the path to the folder.Copyright © 2016. All rights reserved.