OSDN Git Service

a7e7d2f940b795db6654293dfb49aa567615c722
[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.CommentProfile;
5 import yukihane.saccubus.converter.profile.VideoProfile;
6
7 /**
8  *
9  * @author yuki
10  */
11 public class InputFileSetting implements yukihane.saccubus.converter.profile.InputFileSetting, VideoProfile, CommentProfile {
12
13     private final SFile file;
14     private final boolean download;
15     private final boolean delete;
16
17     /**
18      * @param file 対象ファイル.
19      * @param download ダウンロードする必要があればtrue, ローカルファイルを用いるのであればfalse.
20      * @param delete 変換後にファイルを削除するのであればtrue, 残したままにするのであればfalse.
21      */
22     public InputFileSetting(SFile file, boolean download, boolean delete) {
23         this.file = file;
24         this.download = download;
25         this.delete = delete;
26     }
27
28     public SFile getFile() {
29         return file;
30     }
31
32     public boolean isDownload() {
33         return download;
34     }
35
36     public boolean isDelete() {
37         return delete;
38     }
39 }