import java.io.IOException;
import java.util.concurrent.Callable;
import saccubus.ConvertStopFlag;
-import saccubus.converter.classic.profile.FfmpegOption;
+import saccubus.converter.profile.FfmpegOption;
import saccubus.net.TextProgressListener;
/**
import org.apache.commons.lang.StringUtils;
import saccubus.ConvertStopFlag;
import saccubus.conv.ConvertToVideoHook;
-import saccubus.converter.classic.profile.Ffmpeg;
-import saccubus.converter.classic.profile.FfmpegOption;
-import saccubus.converter.classic.profile.GeneralSetting;
-import saccubus.converter.classic.profile.NgSetting;
+import saccubus.converter.profile.NgSetting;
+import saccubus.converter.profile.Ffmpeg;
+import saccubus.converter.profile.FfmpegOption;
+import saccubus.converter.profile.GeneralSetting;
import saccubus.net.TextProgressListener;
import yukihane.swf.Cws2Fws;
-/*
- * To change this template, choose Tools | Templates
- * and open the template in the editor.
- */
package saccubus.converter.classic.profile;
/**
*
* @author yuki
*/
-public class CommentGetInfo {
+public class CommentGetInfo implements saccubus.converter.profile.CommentGetInfo {
private final boolean selfAdjustCommentNum;
private final int backComment;
*
* @author yuki
*/
-public class Ffmpeg {
+public class Ffmpeg implements saccubus.converter.profile.Ffmpeg {
private final File ffmpeg;
private final File vhook;
this.ngSetting = ngSetting;
}
+ @Override
public FfmpegOption getFfmpegOption() {
return ffmpegOption;
}
*
* @author yuki
*/
-public class FfmpegOption {
+public class FfmpegOption implements saccubus.converter.profile.FfmpegOption {
private final String extOption;
private final String inOption;
import java.io.File;
-public class GeneralSetting {
+public class GeneralSetting implements saccubus.converter.profile.GeneralSetting {
private final File tempDir;
* NG設定.
* @author yuki
*/
-public class NgSetting {
+public class NgSetting implements saccubus.converter.profile.NgSetting {
private final String word;
private final String id;
--- /dev/null
+package saccubus.converter.profile;
+
+/**
+ *
+ * @author yuki
+ */
+public interface CommentGetInfo {
+
+ boolean isselfAdjustCommentNum();
+
+ int getBackComment();
+}
--- /dev/null
+package saccubus.converter.profile;
+
+import java.io.File;
+
+/**
+ *
+ * @author yuki
+ */
+public interface Ffmpeg {
+
+ FfmpegOption getFfmpegOption();
+
+ File getFfmpeg();
+
+ int getFontIndex();
+
+ File getFont();
+
+ boolean isCommentOpaque();
+
+ boolean isSelfAdjustFontSize();
+
+ int getShadowIndex();
+
+ boolean isShowConverting();
+
+ boolean isVhookDisabled();
+
+ File getVhook();
+
+ int getMaxNumOfComment();
+
+ NgSetting getNgSetting();
+}
--- /dev/null
+package saccubus.converter.profile;
+
+/**
+ *
+ * @author yuki
+ */
+public interface FfmpegOption {
+
+ String getExtOption();
+
+ String getInOption();
+
+ String getMainOption();
+
+ String getOutOption();
+}
--- /dev/null
+package saccubus.converter.profile;
+
+import java.io.File;
+
+/**
+ *
+ * @author yuki
+ */
+public interface GeneralSetting {
+
+ File getTempDir();
+}
--- /dev/null
+package saccubus.converter.profile;
+
+/**
+ *
+ * @author yuki
+ */
+public interface NgSetting {
+
+ String getWord();
+
+ String getId();
+}
package saccubus.converter.profile;
-import saccubus.converter.classic.profile.CommentGetInfo;
-import saccubus.converter.classic.profile.Ffmpeg;
-import saccubus.converter.classic.profile.GeneralSetting;
import saccubus.converter.classic.profile.InputFileSetting;
import saccubus.converter.classic.profile.OutputFileSetting;
import saccubus.converter.filegetter.LoginInfo;