I want to check if a pdf-file (this one: http://www.augustinianum.eu/roosterwijzigingen/14062012.pdf) I tried this:
File fileTest = new File("http://www.augustinianum.eu/roosterwijzigingen/14062012.pdf");
if(fileTest.exists()){
//DO STUFF
}
But it doesn't execute the if block. How is that possible? The PDF does exist.
It's probably an easy question, but I don't know how to fix it.
Thank You!