2 * To change this template, choose Tools | Templates
3 * and open the template in the editor.
5 package saccubus.converter.filegetter;
8 import java.io.IOException;
9 import saccubus.net.NicoClient;
10 import saccubus.net.TextProgressListener;
11 import saccubus.net.VideoInfo;
17 class TcommFileWebGetter extends FileGetter {
19 private final NicoClient client;
20 private final VideoInfo videoInfo;
22 protected final NicoClient getClient() {
26 protected final VideoInfo getVideoInfo() {
30 TcommFileWebGetter(NicoClient client, VideoInfo vi) {
36 public File get(File file, TextProgressListener listener) throws IOException {
37 File res = getClient().getTcomment(videoInfo, file, listener);
39 throw new IOException("投稿者コメントファイルのダウンロードに失敗しました");