OSDN Git Service

22db68afa7e0a6227239aeb7199d805fd41ba766
[coroid/inqubus.git] / frontend / src / saccubus / converter / classic / profile / OutputFileSetting.java
1 package saccubus.converter.classic.profile;
2
3 import java.io.File;
4
5 /**
6  *
7  * @author yuki
8  */
9 public class OutputFileSetting implements yukihane.saccubus.converter.profile.OutputProfile {
10
11     private final SFile file;
12     private final boolean convert;
13     private final boolean appendPrefixVideoId;
14     private final boolean addComment;
15     private final boolean addTcomment;
16
17     public OutputFileSetting(SFile file, boolean convert, boolean appendPrefixVideoId, boolean addComment,
18             boolean addTcomment) {
19         this.file = file;
20         this.convert = convert;
21         this.appendPrefixVideoId = appendPrefixVideoId;
22         this.addComment = addComment;
23         this.addTcomment = addTcomment;
24     }
25
26     @Override
27     public boolean isConvert() {
28         return convert;
29     }
30
31     @Override
32     public boolean isAppendPrefixVideoId() {
33         return appendPrefixVideoId;
34     }
35
36     @Override
37     public boolean isAddComment() {
38         return addComment;
39     }
40
41     @Override
42     public boolean isAddTcomment() {
43         return addTcomment;
44     }
45
46     @Override
47     public SFile getFile() {
48         return file;
49     }
50
51     @Override
52     public File getDir() {
53         throw new UnsupportedOperationException("Not supported yet.");
54     }
55
56     @Override
57     public String getFileName() {
58         throw new UnsupportedOperationException("Not supported yet.");
59     }
60 }