public interface IndentedTextParser
parse(Stream)
.
The others are convenience methods that ensure compatibility with any kind of
input source (such as a socket)Modifier and Type | Method and Description |
---|---|
java.util.List<IndentedTextNode> |
parse(java.io.File sourceFile) |
java.util.List<IndentedTextNode> |
parse(java.io.InputStream textStream) |
java.util.List<IndentedTextNode> |
parse(java.util.stream.Stream<java.lang.String> lines)
Creates a list of the root nodes found in the given stream of indented
text lines
|
java.util.List<IndentedTextNode> parse(java.util.stream.Stream<java.lang.String> lines)
java.util.List<IndentedTextNode> parse(java.io.InputStream textStream)
java.util.List<IndentedTextNode> parse(java.io.File sourceFile)