How do you avoid URL.equals needing access to the internet in Java? | Hacker News Reader