Creating Hard links and Soft links for a file in Java