/* $Id$ */
package saccubus.converter.classic.profile;
+import yukihane.saccubus.converter.profile.CommentProfile;
+import yukihane.saccubus.converter.profile.VideoProfile;
+
/**
*
* @author yuki
*/
-public class InputFileSetting implements yukihane.saccubus.converter.profile.InputFileSetting {
+public class InputFileSetting implements yukihane.saccubus.converter.profile.InputFileSetting, VideoProfile, CommentProfile {
private final SFile file;
private final boolean download;
private final boolean delete;
+ private final CommentGetInfo commentGetInfo;
+ private final String backLogPoint;
/**
* @param file 対象ファイル.
* @param download ダウンロードする必要があればtrue, ローカルファイルを用いるのであればfalse.
* @param delete 変換後にファイルを削除するのであればtrue, 残したままにするのであればfalse.
*/
- public InputFileSetting(SFile file, boolean download, boolean delete) {
+ public InputFileSetting(SFile file, boolean download, boolean delete, CommentGetInfo cominfo, String backLogPoint) {
this.file = file;
this.download = download;
this.delete = delete;
+ this.commentGetInfo = cominfo;
+ this.backLogPoint = backLogPoint;
}
+ @Override
public SFile getFile() {
return file;
}
+ @Override
public boolean isDownload() {
return download;
}
public boolean isDelete() {
return delete;
}
-}
+ @Override
+ public boolean isSelfAdjustCommentNum() {
+ return commentGetInfo.isSelfAdjustCommentNum();
+ }
+
+ @Override
+ public int getBackComment() {
+ return commentGetInfo.getBackComment();
+ }
+
+ @Override
+ public boolean isReduceComment() {
+ return commentGetInfo.isReduceComment();
+ }
+
+ @Override
+ public String getBackLogPoint() {
+ return backLogPoint;
+ }
+}