@SuppressWarnings("deprecation") public static void addFile(File f) throws IOException {
  addURL(f.toURL());
}

@ SuppressWarnings ( "deprecation" ) public static void addFile ( File f ) throws IOException { addURL ( f . toURL ( ) ) ; }
add a file to the classpath .
