@Deprecated
public abstract class BasicSupport_Deprecated extends BasicSupport {
private InputStream in;
- private URL currentReferer; // with only one 'r', as in 'HTTP'...
// quote chars
private char openQuote = Instance.getTrans().getCharacter(
throw new RuntimeException("should not be used by legacy code");
}
+ @Override
public Story process(Progress pg) throws IOException {
return process(getSource(), pg);
}
// redundant "Chapter x: " in front of it, or "-" (as in
// "Chapter 5: - Fun!" after the ": " was automatically added)
String chapterName = processPara(name).getContent().trim();
- for (String lang : Instance.getConfig().getString(Config.CHAPTER)
- .split(",")) {
+ for (String lang : Instance.getConfig().getList(Config.CONF_CHAPTER)) {
String chapterWord = Instance.getConfig().getStringX(
- Config.CHAPTER, lang);
+ Config.CONF_CHAPTER, lang);
if (chapterName.startsWith(chapterWord)) {
chapterName = chapterName.substring(chapterWord.length())
.trim();
// try for files
if (source != null) {
try {
-
String relPath = null;
String absPath = null;
try {