public static TickIterator tickIteratorForFile(String fileName, Profile... profile) throws IOException {
return new TickIterator(demoInputStreamForStream(new FileInputStream(fileName), profile));
}
public static DemoIndex indexForStream(InputStream stream, Profile... profile) throws IOException {
return new DemoIndex(new PeekIterator(demoInputStreamForStream(stream, profile)));
}