From dd3731f375bd200e230cea66d61d5adaec81c287 Mon Sep 17 00:00:00 2001 From: yukihane Date: Sat, 20 Aug 2011 13:31:50 +0900 Subject: [PATCH] =?utf8?q?=E3=82=B3=E3=83=B3=E3=83=91=E3=82=A4=E3=83=AB?= =?utf8?q?=E3=82=A8=E3=83=A9=E3=83=BC=E8=A7=A3=E6=B6=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../converter/classic/profile/GeneralSetting.java | 11 +++++++++++ .../converter/classic/profile/InputFileSetting.java | 2 +- .../converter/classic/profile/OutputFileSetting.java | 17 +++++++++++++++++ 3 files changed, 29 insertions(+), 1 deletion(-) diff --git a/frontend/src/saccubus/converter/classic/profile/GeneralSetting.java b/frontend/src/saccubus/converter/classic/profile/GeneralSetting.java index 5a9a34a..f171ded 100644 --- a/frontend/src/saccubus/converter/classic/profile/GeneralSetting.java +++ b/frontend/src/saccubus/converter/classic/profile/GeneralSetting.java @@ -11,7 +11,18 @@ public class GeneralSetting implements yukihane.saccubus.converter.profile.Gener this.tempDir = tempDir; } + @Override public File getTempDir() { return tempDir; } + + @Override + public String getReplaceFrom() { + throw new UnsupportedOperationException("Not supported yet."); + } + + @Override + public String getReplaceTo() { + throw new UnsupportedOperationException("Not supported yet."); + } } diff --git a/frontend/src/saccubus/converter/classic/profile/InputFileSetting.java b/frontend/src/saccubus/converter/classic/profile/InputFileSetting.java index 9318caf..e5c08ad 100644 --- a/frontend/src/saccubus/converter/classic/profile/InputFileSetting.java +++ b/frontend/src/saccubus/converter/classic/profile/InputFileSetting.java @@ -29,7 +29,7 @@ public class InputFileSetting implements VideoProfile, CommentProfile { } @Override - public File getFile() { + public String getFileName() { throw new UnsupportedOperationException("Not supported yet."); } diff --git a/frontend/src/saccubus/converter/classic/profile/OutputFileSetting.java b/frontend/src/saccubus/converter/classic/profile/OutputFileSetting.java index 4923427..22db68a 100644 --- a/frontend/src/saccubus/converter/classic/profile/OutputFileSetting.java +++ b/frontend/src/saccubus/converter/classic/profile/OutputFileSetting.java @@ -1,5 +1,7 @@ package saccubus.converter.classic.profile; +import java.io.File; + /** * * @author yuki @@ -21,23 +23,38 @@ public class OutputFileSetting implements yukihane.saccubus.converter.profile.Ou this.addTcomment = addTcomment; } + @Override public boolean isConvert() { return convert; } + @Override public boolean isAppendPrefixVideoId() { return appendPrefixVideoId; } + @Override public boolean isAddComment() { return addComment; } + @Override public boolean isAddTcomment() { return addTcomment; } + @Override public SFile getFile() { return file; } + + @Override + public File getDir() { + throw new UnsupportedOperationException("Not supported yet."); + } + + @Override + public String getFileName() { + throw new UnsupportedOperationException("Not supported yet."); + } } -- 2.11.0