e9f909da7674ffd41f580e6e59dc2ec88f27e5ad
1 package be
.nikiroo
.fanfix
.reader
;
3 import java
.io
.IOException
;
5 import be
.nikiroo
.fanfix
.Instance
;
7 class TuiReader
extends BasicReader
{
8 public void read() throws IOException
{
9 if (getStory() == null) {
10 throw new IOException("No story to read");
13 open(getLibrary(), getStory().getMeta().getLuid());
16 public void read(int chapter
) throws IOException
{
17 // TODO: show a special page?
21 public void browse(String source
) {
23 TuiReaderApplication app
= new TuiReaderApplication(getLibrary()
24 .getListBySource(source
), this);
25 new Thread(app
).start();
26 } catch (Exception e
) {