public class FileUtil extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getStringFromResource(String fileName) |
static List<String> |
lines(File file) |
static List<String> |
lines(File file,
Charset charset) |
static List<String> |
lines(IPlan plugin,
String resource) |
public static String getStringFromResource(String fileName) throws FileNotFoundException
FileNotFoundException
public static List<String> lines(IPlan plugin, String resource) throws IOException
IOException
public static List<String> lines(File file) throws IOException
IOException
public static List<String> lines(File file, Charset charset) throws IOException
IOException
Copyright © 2017. All rights reserved.