From 3d4b05c697819b2b29e1f96d1dafd681174b5790 Mon Sep 17 00:00:00 2001 From: Ziver Koc Date: Fri, 13 Aug 2010 22:32:19 +0000 Subject: [PATCH] --- src/zutil/network/torrent/Torrent.java | 4 ++-- src/zutil/network/torrent/TorrentParser.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/zutil/network/torrent/Torrent.java b/src/zutil/network/torrent/Torrent.java index 21482e6..ce8eda4 100644 --- a/src/zutil/network/torrent/Torrent.java +++ b/src/zutil/network/torrent/Torrent.java @@ -5,7 +5,7 @@ import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; -import zutil.FileFinder; +import zutil.FileUtil; public class Torrent { // Name of the torrent @@ -29,7 +29,7 @@ public class Torrent { private boolean is_private; public Torrent(File torrent) throws IOException{ - this(FileFinder.getFileContent( torrent )); + this(FileUtil.getFileContent( torrent )); } public Torrent(String data){ diff --git a/src/zutil/network/torrent/TorrentParser.java b/src/zutil/network/torrent/TorrentParser.java index 0019a4f..4b8041b 100644 --- a/src/zutil/network/torrent/TorrentParser.java +++ b/src/zutil/network/torrent/TorrentParser.java @@ -5,7 +5,7 @@ import java.io.IOException; import java.util.HashMap; import java.util.LinkedList; -import zutil.FileFinder; +import zutil.FileUtil; import zutil.MultiPrintStream; /** @@ -19,7 +19,7 @@ public class TorrentParser { */ public static void main(String[] args){ try { - String tmp = FileFinder.getFileContent(FileFinder.find("C:\\Users\\Ziver\\Desktop\\test.torrent")); + String tmp = FileUtil.getFileContent(FileUtil.find("C:\\Users\\Ziver\\Desktop\\test.torrent")); MultiPrintStream.out.dump(TorrentParser.decode(tmp)); } catch (FileNotFoundException e) {