OSDN Git Service

インタフェース名変更: LoginInfo -> LoginProfile
[coroid/inqubus.git] / frontend / src / saccubus / converter / filegetter / FileInstanciator.java
index be72e73..40798a9 100644 (file)
@@ -6,8 +6,10 @@ import java.io.FileNotFoundException;
 import java.io.IOException;
 import org.apache.commons.io.FilenameUtils;
 import saccubus.ConvertStopFlag;
-import saccubus.converter.profile.InputFileSetting;
+import yukihane.saccubus.converter.profile.InputFileSetting;
 import saccubus.net.TextProgressListener;
+import yukihane.saccubus.converter.profile.LoinProfile;
+import yukihane.saccubus.converter.profile.Proxy;
 
 /**
  * ダウンロード処理を全く必要としない場合のファイルインスタンス化クラス.
@@ -40,12 +42,13 @@ public class FileInstanciator {
             InstanciationType videoType,
             CommentInstanciationType commentType,
             InstanciationType tcommType,
-            LoginInfo li,
+            LoinProfile li,
+            Proxy proxy,
             String tag, String time) throws
             IOException {
         FileInstanciator getter;
         if (videoType.isDownload() || commentType.isDownload() || tcommType.isDownload()) {
-            getter = new WebFileInstanciator(stopFlag, videoType, commentType, tcommType, li, tag, time);
+            getter = new WebFileInstanciator(stopFlag, videoType, commentType, tcommType, li, proxy, tag, time);
         } else {
             getter = new FileInstanciator(videoType, commentType, tcommType, tag);
         }