FileInstanciator.InstanciationType videoType = new FileInstanciator.InstanciationType(profile.getVideoSetting());
FileInstanciator.CommentInstanciationType commentType = new FileInstanciator.CommentInstanciationType(profile.
- getCommentSetting(), profile.getCommentSetting().getCommentGetInfo().isSelfAdjustCommentNum(), profile.getCommentSetting().getCommentGetInfo().
- getBackComment(), profile.getCommentSetting().getCommentGetInfo().isReduceComment());
+ getCommentSetting(), profile.getCommentSetting().isSelfAdjustCommentNum(), profile.getCommentSetting().
+ getBackComment(), profile.getCommentSetting().isReduceComment());
FileInstanciator.InstanciationType tcommType = new FileInstanciator.InstanciationType(
profile.getCommentSetting());
* コメント取得に関するプロファイルです.
* @author yuki
*/
-public class CommentGetInfo implements yukihane.saccubus.converter.profile.CommentGetInfo {
+public class CommentGetInfo {
/** コメント取得数を自動調整するのであればtrue. */
private final boolean selfAdjustCommentNum;
this.reduceComment = reduceComment;
}
- @Override
public boolean isSelfAdjustCommentNum() {
return selfAdjustCommentNum;
}
- @Override
public int getBackComment() {
return backComment;
}
- @Override
public boolean isReduceComment() {
return reduceComment;
}
/* $Id$ */
package saccubus.converter.classic.profile;
-import yukihane.saccubus.converter.profile.CommentGetInfo;
import yukihane.saccubus.converter.profile.CommentProfile;
import yukihane.saccubus.converter.profile.VideoProfile;
}
@Override
- public CommentGetInfo getCommentGetInfo() {
- return commentGetInfo;
+ public boolean isSelfAdjustCommentNum() {
+ return commentGetInfo.isSelfAdjustCommentNum();
+ }
+
+ @Override
+ public int getBackComment() {
+ return commentGetInfo.getBackComment();
+ }
+
+ @Override
+ public boolean isReduceComment() {
+ return commentGetInfo.isReduceComment();
}
}
+++ /dev/null
-package yukihane.saccubus.converter.profile;
-
-/**
- *
- * @author yuki
- */
-public interface CommentGetInfo {
-
- boolean isSelfAdjustCommentNum();
-
- int getBackComment();
-
- boolean isReduceComment();
-}
*/
public interface CommentProfile extends InputFileSetting {
- CommentGetInfo getCommentGetInfo();
+ boolean isSelfAdjustCommentNum();
+
+ int getBackComment();
+
+ boolean isReduceComment();
}