1 package saccubus.converter.filegetter;
4 import java.io.IOException;
5 import saccubus.net.NicoClient;
6 import saccubus.net.TextProgressListener;
7 import saccubus.net.VideoInfo;
13 class TcommFileWebGetter extends FileGetter {
15 private final NicoClient client;
16 private final VideoInfo videoInfo;
18 protected final NicoClient getClient() {
22 protected final VideoInfo getVideoInfo() {
26 TcommFileWebGetter(NicoClient client, VideoInfo vi) {
32 public File get(File file, TextProgressListener listener) throws IOException {
33 File res = getClient().getTcomment(videoInfo, file, listener);
35 throw new IOException("投稿者コメントファイルのダウンロードに失敗しました");