protected abstract String getDesc() throws IOException;
/**
- * Return the list of chapters (name and resource). *
+ * Return the list of chapters (name and resource).
* <p>
* Can be NULL if this {@link BasicSupport} do no use chapters.
*
setCurrentReferer(null);
}
- /**
- * Process the given story resource into a partially filled {@link Story}
- * object containing the name and metadata, except for the description.
- *
- * @return the {@link Story}
- *
- * @throws IOException
- * in case of I/O error
- */
- public final Story processMeta() throws IOException {
- Story story = null;
-
- try {
- story = processMeta(false, null);
- } finally {
- close();
- }
-
- return story;
- }
-
/**
* Process the given story resource into a partially filled {@link Story}
* object containing the name and metadata.
}
/**
- * Actual processing step, without the calls to other methods.
- * <p>
- * Will convert the story resource into a fully filled {@link Story} object.
+ * Process the given story resource into a fully filled {@link Story}
+ * object.
*
* @param pg
* the optional progress reporter
* @throws IOException
* in case of I/O error
*/
- // TODO: add final
+ // ADD final when BasicSupport_Deprecated is gone
public Story process(Progress pg) throws IOException {
setCurrentReferer(source);
login();
}
/**
- * Process the given story resource into a fully filled {@link Story}
- * object.
+ * Actual processing step, without the calls to other methods.
+ * <p>
+ * Will convert the story resource into a fully filled {@link Story} object.
*
* @param pg
* the optional progress reporter
* @throws IOException
* in case of I/O error
*/
- public Story doProcess(Progress pg) throws IOException {
+ protected Story doProcess(Progress pg) throws IOException {
if (pg == null) {
pg = new Progress();
} else {
case E_HENTAI:
support = new EHentai();
break;
+ case MANGA_LEL:
+ support = new MangaLel();
+ break;
case CBZ:
support = new Cbz();
break;