I call function with:
Anagrams("http://www.puzzlers.org//pub//wordlists//unixdict.txt");
In the function I write:
public static void Anagrams(String path)
{
BufferedReader br;
try {
br = new BufferedReader(new FileReader(path));
And I get an error:
java.io.FileNotFoundException: http:\www.puzzlers.org\pub\wordlists\unixdict.txt
But when I put the path in a browser, the browser opens the file fine.