private boolean classExists ( File directory , String name ) { String baseName = getBaseFileName ( name ) ; File classFile = new File ( directory , baseName + CLASS_EXTENSION ) ; File digestFile = new File ( directory , baseName + DIGEST_EXTENSION ) ; return classFile . isFile ( ) && digestFile . isFile ( ) ; }
Determines if the specified class exists in the specified directory tree .