Package org.mockserver.file
Class FileReader
- java.lang.Object
-
- org.mockserver.file.FileReader
-
public class FileReader extends Object
- Author:
- jamesdbloom
-
-
Constructor Summary
Constructors Constructor Description FileReader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Reader
openReaderToFileFromClassPathOrPath(String filename)
static InputStream
openStreamToFileFromClassPathOrPath(String filename)
static String
readFileFromClassPathOrPath(String filePath)
-
-
-
Method Detail
-
openStreamToFileFromClassPathOrPath
public static InputStream openStreamToFileFromClassPathOrPath(String filename) throws FileNotFoundException
- Throws:
FileNotFoundException
-
openReaderToFileFromClassPathOrPath
public static Reader openReaderToFileFromClassPathOrPath(String filename) throws FileNotFoundException
- Throws:
FileNotFoundException
-
-