Java org.antlr.v4.runtime CharStreams fields, constructors, methods, implement or subclass

Example usage for Java org.antlr.v4.runtime CharStreams fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.antlr.v4.runtime CharStreams.

The text is from its open source code.

Method

CharStreamfromFileName(String fileName)
Creates a CharStream given a string containing a path to a UTF-8 file on disk.
CharStreamfromPath(Path path)
Creates a CharStream given a path to a UTF-8 encoded file on disk.
CharStreamfromPath(Path path, Charset charset)
Creates a CharStream given a path to a file on disk and the charset of the bytes contained in the file.
CodePointCharStreamfromReader(Reader r)
Creates a CharStream given a Reader .
CodePointCharStreamfromReader(Reader r, String sourceName)
Creates a CharStream given a Reader and its source name.
CharStreamfromStream(InputStream is)
Creates a CharStream given an opened InputStream containing UTF-8 bytes.
CharStreamfromStream(InputStream is, Charset charset)
Creates a CharStream given an opened InputStream and the charset of the bytes contained in the stream.
CodePointCharStreamfromString(String s)
Creates a CharStream given a String .
CodePointCharStreamfromString(String s, String sourceName)
Creates a CharStream given a String and the sourceName from which it came.