public final class Events extends Object
| Modifier and Type | Method and Description |
|---|---|
static Iterable<Integer> |
fromReader(Reader reader) |
static Iterable<Integer> |
fromStream(InputStream stream) |
static Iterable<Integer> |
fromString(String string)
Build an iterable that returns the characters in a string - useful for
parsing strings and treating characters as events.
|
public static Iterable<Integer> fromString(String string)
string - The string.public static Iterable<Integer> fromStream(InputStream stream)
Copyright © 2015. All rights reserved.