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) {