OSDN Git Service

プロファイルからコメント取得用情報を削除
[coroid/inqubus.git] / frontend / src / saccubus / converter / classic / profile / InputFileSetting.java
1 /* $Id$ */
2 package saccubus.converter.classic.profile;
3
4 import yukihane.saccubus.converter.profile.CommentGetInfo;
5 import yukihane.saccubus.converter.profile.CommentProfile;
6 import yukihane.saccubus.converter.profile.VideoProfile;
7
8 /**
9  *
10  * @author yuki
11  */
12 public class InputFileSetting implements yukihane.saccubus.converter.profile.InputFileSetting, VideoProfile, CommentProfile {
13
14     private final SFile file;
15     private final boolean download;
16     private final boolean delete;
17     private final CommentGetInfo commentGetInfo;
18
19     /**
20      * @param file 対象ファイル.
21      * @param download ダウンロードする必要があればtrue, ローカルファイルを用いるのであればfalse.
22      * @param delete 変換後にファイルを削除するのであればtrue, 残したままにするのであればfalse.
23      */
24     public InputFileSetting(SFile file, boolean download, boolean delete, CommentGetInfo cominfo) {
25         this.file = file;
26         this.download = download;
27         this.delete = delete;
28         this.commentGetInfo = cominfo;
29     }
30
31     @Override
32     public SFile getFile() {
33         return file;
34     }
35
36     @Override
37     public boolean isDownload() {
38         return download;
39     }
40
41     public boolean isDelete() {
42         return delete;
43     }
44
45     @Override
46     public CommentGetInfo getCommentGetInfo() {
47         return commentGetInfo;
48     }
49 }