public class FileReader extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FileReader.Finder |
Constructor and Description |
---|
FileReader() |
Modifier and Type | Method and Description |
---|---|
static List<String> |
expandFilePathGlobs(String filePath) |
static URL |
getURL(String filepath) |
static void |
main(String[] args) |
static Reader |
openReaderToFileFromClassPathOrPath(String filename) |
static InputStream |
openStreamToFileFromClassPathOrPath(String filename) |
static String |
readFileFromClassPathOrPath(String filePath) |
public static InputStream openStreamToFileFromClassPathOrPath(String filename) throws FileNotFoundException
FileNotFoundException
public static Reader openReaderToFileFromClassPathOrPath(String filename) throws FileNotFoundException
FileNotFoundException
public static void main(String[] args)
Copyright © 2022. All rights reserved.