String tag, String time) throws
IOException {
FileInstanciator getter;
- if (videoType.isDoanload() || commentType.isDoanload() || tcommType.isDoanload()) {
+ if (videoType.isDownload() || commentType.isDownload() || tcommType.isDownload()) {
getter = new WebFileInstanciator(stopFlag, videoType, commentType, tcommType, li, tag, time);
} else {
getter = new FileInstanciator(videoType, commentType, tcommType, tag);
this.initFile = fileSetting.getFile().getFile();
}
- public boolean isDoanload() {
+ public boolean isDownload() {
return download;
}
private final boolean autoCommentNum;
private final int backComment;
+ private final boolean reduceComment;
- public CommentInstanciationType(InputFileSetting fileSetting, boolean autoCommentNum, int backComment) {
+ public CommentInstanciationType(InputFileSetting fileSetting, boolean autoCommentNum, int backComment,
+ boolean reduceComment) {
super(fileSetting);
this.autoCommentNum = autoCommentNum;
this.backComment = backComment;
+ this.reduceComment = reduceComment;
}
public boolean isAutoCommentNum() {
public int getBackComment() {
return backComment;
}
+
+ boolean isReduceComment() {
+ return reduceComment;
+ }
}
}