2 package saccubus.converter.classic.profile;
4 import yukihane.saccubus.converter.profile.CommentProfile;
5 import yukihane.saccubus.converter.profile.VideoProfile;
8 * Converterに処理させるための設定.
11 public class Profile implements yukihane.saccubus.converter.profile.Profile {
13 private final GeneralSetting generalSetting;
14 private final LoginInfo loginInfo;
15 private final VideoProfile videoSetting;
16 private final CommentProfile commentSetting;
17 private final CommentGetInfo commentGetInfo;
18 private final InputFileSetting tcommentSetting;
19 private final OutputFileSetting outputFileSetting;
20 private final Ffmpeg ffmpeg;
23 GeneralSetting generalSetting,
25 VideoProfile videoSetting,
26 CommentProfile commentSetting,
27 CommentGetInfo commentGetInfo,
28 InputFileSetting tcommentSetting,
29 OutputFileSetting outputFileSetting,
31 this.generalSetting = generalSetting;
32 this.loginInfo = loginInfo;
33 this.videoSetting = videoSetting;
34 this.commentSetting = commentSetting;
35 this.commentGetInfo = commentGetInfo;
36 this.tcommentSetting = tcommentSetting;
37 this.outputFileSetting = outputFileSetting;
42 public LoginInfo getLoginInfo() {
47 public Proxy getProxySetting(){
48 return loginInfo.getProxy();
52 public VideoProfile getVideoSetting() {
57 public CommentProfile getCommentSetting() {
58 return commentSetting;
61 public InputFileSetting getTcommentSetting() {
62 return tcommentSetting;
66 public OutputFileSetting getOutputFileSetting() {
67 return outputFileSetting;
70 public CommentGetInfo getCommentGetInfo() {
71 return commentGetInfo;
75 public boolean needsConvert() {
76 return getOutputFileSetting().isConvert();
80 public Ffmpeg getFfmpeg() {
85 public GeneralSetting getGeneralSetting() {
86 return generalSetting;