* @author niki
*/
class CliReader extends BasicReader {
- @Override
public void read() throws IOException {
if (getStory() == null) {
throw new IOException("No story to read");
}
}
- @Override
public void read(int chapter) throws IOException {
if (getStory() == null) {
throw new IOException("No story to read");
}
}
- @Override
public void browse(String source) {
List<MetaData> stories;
stories = getLibrary().getListBySource(source);