protected String findClasspathFile ( final String path ) throws IOException { if ( path == null ) { return null ; } final File file = new File ( path ) ; if ( file . exists ( ) ) { return file . getAbsolutePath ( ) ; } return createTmpFile ( path ) . getAbsolutePath ( ) ; }
Checks whether the given file is an absolute path or a classpath file