public abstract class BasicSupport {
public enum Type {
- SLASHDOT,
+ SLASHDOT, PIPEDOT,
}
static private String preselector;
abstract public List<Comment> getComments(Story story) throws IOException;
abstract public String getDescription();
-
+
public String getSelector() {
return getSelector(type);
}
case SLASHDOT:
support = new Slashdot();
break;
+ case PIPEDOT:
+ support = new Pipedot();
+ break;
}
if (support != null) {