Package io.protostuff.compiler.parser
Class ClasspathFileReader
- java.lang.Object
-
- io.protostuff.compiler.parser.ClasspathFileReader
-
- All Implemented Interfaces:
FileReader
public class ClasspathFileReader extends Object implements FileReader
File reader that can load files from classpath.- Author:
- Kostiantyn Shchepanovskyi
-
-
Constructor Summary
Constructors Constructor Description ClasspathFileReader()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.antlr.v4.runtime.CharStreamread(String name)static InputStreamreadResource(String name)Load resource from classpath.
-
-
-
Method Detail
-
readResource
public static InputStream readResource(String name)
Load resource from classpath.
-
read
@Nullable public org.antlr.v4.runtime.CharStream read(String name)
- Specified by:
readin interfaceFileReader
-
-