OSDN Git Service

メソッド名の誤字修正
authoryukihane <yukihane.feather@gmail.com>
Fri, 19 Aug 2011 10:49:13 +0000 (19:49 +0900)
committeryukihane <yukihane.feather@gmail.com>
Fri, 19 Aug 2011 10:49:13 +0000 (19:49 +0900)
frontend/src/saccubus/converter/Converter.java
frontend/src/saccubus/converter/filegetter/FileInstanciator.java
frontend/src/saccubus/converter/filegetter/WebFileInstanciator.java
frontend/src/saccubus/converter/profile/CommentGetInfo.java

index 6f4a4fe..bda3956 100644 (file)
@@ -157,7 +157,7 @@ public class Converter extends AbstractCommand implements Runnable, Callable<Boo
         FileInstanciator.InstanciationType videoType = new FileInstanciator.InstanciationType(Setting.getVideoSetting());
 
         FileInstanciator.CommentInstanciationType commentType = new FileInstanciator.CommentInstanciationType(Setting.
         FileInstanciator.InstanciationType videoType = new FileInstanciator.InstanciationType(Setting.getVideoSetting());
 
         FileInstanciator.CommentInstanciationType commentType = new FileInstanciator.CommentInstanciationType(Setting.
-                getCommentSetting(), Setting.getCommentGetInfo().isselfAdjustCommentNum(), Setting.getCommentGetInfo().
+                getCommentSetting(), Setting.getCommentGetInfo().isSelfAdjustCommentNum(), Setting.getCommentGetInfo().
                 getBackComment());
 
         FileInstanciator.InstanciationType tcommType = new FileInstanciator.InstanciationType(
                 getBackComment());
 
         FileInstanciator.InstanciationType tcommType = new FileInstanciator.InstanciationType(
index cc697a8..b1750d3 100644 (file)
@@ -44,7 +44,7 @@ public class FileInstanciator {
             String tag, String time) throws
             IOException {
         FileInstanciator getter;
             String tag, String time) throws
             IOException {
         FileInstanciator getter;
-        if (videoType.isDoanload() || commentType.isDoanload() || tcommType.isDoanload()) {
+        if (videoType.isDownload() || commentType.isDownload() || tcommType.isDownload()) {
             getter = new WebFileInstanciator(stopFlag, videoType, commentType, tcommType, li, tag, time);
         } else {
             getter = new FileInstanciator(videoType, commentType, tcommType, tag);
             getter = new WebFileInstanciator(stopFlag, videoType, commentType, tcommType, li, tag, time);
         } else {
             getter = new FileInstanciator(videoType, commentType, tcommType, tag);
@@ -155,7 +155,7 @@ public class FileInstanciator {
             this.initFile = fileSetting.getFile().getFile();
         }
 
             this.initFile = fileSetting.getFile().getFile();
         }
 
-        public boolean isDoanload() {
+        public boolean isDownload() {
             return download;
         }
 
             return download;
         }
 
index 0401729..2dd64d2 100644 (file)
@@ -67,16 +67,16 @@ public class WebFileInstanciator extends FileInstanciator {
             throw new IOException(tag + "の情報の取得に失敗", ex);
         }
 
             throw new IOException(tag + "の情報の取得に失敗", ex);
         }
 
-        if (videoType.isDoanload()) {
+        if (videoType.isDownload()) {
             setVideoFileGetter(new VideoFileWebGetter(client, videoInfo));
         }
 
             setVideoFileGetter(new VideoFileWebGetter(client, videoInfo));
         }
 
-        if (commentType.isDoanload()) {
+        if (commentType.isDownload()) {
             setCommentFileGetter(new CommentFileWebGetter(client, videoInfo, commentInfo, commentType.isAutoCommentNum(),
                     commentType.getBackComment()));
         }
 
             setCommentFileGetter(new CommentFileWebGetter(client, videoInfo, commentInfo, commentType.isAutoCommentNum(),
                     commentType.getBackComment()));
         }
 
-        if (tcommType.isDoanload()) {
+        if (tcommType.isDownload()) {
             setTcommFileGetter(new TcommFileWebGetter(client, videoInfo));
         }
     }
             setTcommFileGetter(new TcommFileWebGetter(client, videoInfo));
         }
     }
index c17634b..f0ae930 100644 (file)
@@ -5,12 +5,14 @@
 package saccubus.converter.profile;
 
 /**
 package saccubus.converter.profile;
 
 /**
- *
+ * コメント取得に関するプロファイルです.
  * @author yuki
  */
 public class CommentGetInfo {
 
  * @author yuki
  */
 public class CommentGetInfo {
 
+    /** コメント取得数を自動調整するのであればtrue. */
     private final boolean selfAdjustCommentNum;
     private final boolean selfAdjustCommentNum;
+    /** コメント取得数を自動調整しない場合の取得数. */
     private final int backComment;
 
     public CommentGetInfo(boolean selfAdjustCommentNum, int backComment) {
     private final int backComment;
 
     public CommentGetInfo(boolean selfAdjustCommentNum, int backComment) {
@@ -18,7 +20,7 @@ public class CommentGetInfo {
         this.backComment = backComment;
     }
 
         this.backComment = backComment;
     }
 
-    public boolean isselfAdjustCommentNum() {
+    public boolean isSelfAdjustCommentNum() {
         return selfAdjustCommentNum;
     }
 
         return selfAdjustCommentNum;
     }