@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);
}
* the line to return based upon the target line position (-1 =
* the line before, 0 = the target line...)
*
- * @return the line
+ * @return the line, or NULL if not found
*/
static protected String getLine(InputStream in, String needle,
int relativeLine) {
* takes the first result (as opposed to the last one, which will
* also always spend the input)
*
- * @return the line
+ * @return the line, or NULL if not found
*/
static protected String getLine(InputStream in, String needle,
int relativeLine, boolean first) {