NicoBrowserリポジトリ
Revision | b6c4a7f01d0d9c5f3ea70dc9179b27b3770ab770 (tree) |
---|---|
Time | 2012-07-03 20:08:12 |
Author | yukihane <yukihane.feather@gmai...> |
Commiter | yukihane |
javadoc追記
@@ -37,6 +37,7 @@ public class Util { | ||
37 | 37 | |
38 | 38 | /** |
39 | 39 | * ユーザIDを取得する |
40 | + * | |
40 | 41 | * @param is ニコニコ動画のウォッチページストリーム. |
41 | 42 | * @return ユーザID. 取得できなければnull. |
42 | 43 | */ |
@@ -46,6 +47,7 @@ public class Util { | ||
46 | 47 | |
47 | 48 | /** |
48 | 49 | * 違反通報ページURLを取得する. |
50 | + * | |
49 | 51 | * @param is ニコニコ動画のウォッチページストリーム. |
50 | 52 | * @return 違反通報ページURL. 取得できなければnull. |
51 | 53 | */ |
@@ -65,6 +67,7 @@ public class Util { | ||
65 | 67 | |
66 | 68 | /** |
67 | 69 | * ユーザ名を取得する. |
70 | + * | |
68 | 71 | * @param is 違反通報ページストリーム. |
69 | 72 | * @return ユーザ名. 取得できなければnull. |
70 | 73 | */ |
@@ -76,6 +79,12 @@ public class Util { | ||
76 | 79 | return userName; |
77 | 80 | } |
78 | 81 | |
82 | + /** | |
83 | + * Watchページから動画タイトルを取得する. | |
84 | + * | |
85 | + * @param watchPage watchページストリーム. | |
86 | + * @return 動画名. | |
87 | + */ | |
79 | 88 | public static String getTitle(InputStream watchPage) { |
80 | 89 | return wp.getTitle(watchPage); |
81 | 90 | } |