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 java.io.File;
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 VideoProfile, CommentProfile {
13
14     private final boolean download;
15     private final boolean delete;
16     private final CommentGetInfo commentGetInfo;
17     private final long backLogPoint;
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, long backLogPoint) {
25         this.download = download;
26         this.delete = delete;
27         this.commentGetInfo = cominfo;
28         this.backLogPoint = backLogPoint;
29     }
30
31     @Override
32     public String getFileName() {
33         throw new UnsupportedOperationException("Not supported yet.");
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 boolean isSelfAdjustCommentNum() {
47         return commentGetInfo.isSelfAdjustCommentNum();
48     }
49
50     @Override
51     public int getBackComment() {
52         return commentGetInfo.getBackComment();
53     }
54
55     @Override
56     public boolean isReduceComment() {
57         return commentGetInfo.isReduceComment();
58     }
59
60     @Override
61     public long getBackLogPoint() {
62         return backLogPoint;
63     }
64
65     @Override
66     public File getDir() {
67         throw new UnsupportedOperationException("Not supported yet.");
68     }
69
70     @Override
71     public File getLocalFile() {
72         throw new UnsupportedOperationException("Not supported yet.");
73     }
74 }