2 package saccubus.converter.classic.profile;
4 import yukihane.saccubus.converter.profile.CommentProfile;
5 import yukihane.saccubus.converter.profile.VideoProfile;
11 public class InputFileSetting implements yukihane.saccubus.converter.profile.InputFileSetting, VideoProfile, CommentProfile {
13 private final SFile file;
14 private final boolean download;
15 private final boolean delete;
16 private final CommentGetInfo commentGetInfo;
20 * @param download ダウンロードする必要があればtrue, ローカルファイルを用いるのであればfalse.
21 * @param delete 変換後にファイルを削除するのであればtrue, 残したままにするのであればfalse.
23 public InputFileSetting(SFile file, boolean download, boolean delete, CommentGetInfo cominfo) {
25 this.download = download;
27 this.commentGetInfo = cominfo;
31 public SFile getFile() {
36 public boolean isDownload() {
40 public boolean isDelete() {
45 public boolean isSelfAdjustCommentNum() {
46 return commentGetInfo.isSelfAdjustCommentNum();
50 public int getBackComment() {
51 return commentGetInfo.getBackComment();
55 public boolean isReduceComment() {
56 return commentGetInfo.isReduceComment();