public final class WikipediaTraceReader extends TextTraceReader
| Constructor and Description |
|---|
WikipediaTraceReader(List<String> filePaths) |
| Modifier and Type | Method and Description |
|---|---|
LongStream |
events()
Creates a
LongStream that lazily reads the trace source. |
boolean |
isAllowed(String path)
Returns if the path should be included.
|
linespublic LongStream events() throws IOException
TraceReaderLongStream that lazily reads the trace source.
If timely disposal of underlying resources is required, the try-with-resources construct should
be used to ensure that the stream's close method is
invoked after the stream operations are completed.
IOExceptionpublic boolean isAllowed(String path)