sparqlGraphLibrary/src/main/java/com/ge/research/semtk/edc/JobTracker.java
private void deleteBinaryFile(String filePath) {
		try {
			File f = new File(filePath);
		
			if (f.exists()) {
				File parent = f.getParentFile();
				f.delete();
				LocalLogger.logToStdOut("Deleted binary file: " + filePath);

				
				if (parent.isDirectory() && parent.list().length == 0) {
					parent.delete();
					LocalLogger.logToStdOut("Deleted empty parent dir: " + parent.getAbsolutePath());

				}
			}
		} catch (Exception e) {
			e.printStackTrace(System.err);
		}
	}
/**
	 * Delete a binary file if it exists.  And it's parent if it becomes empty.
	 * @param filePath
	 */
Delete a binary file if it exists.  And it's parent if it becomes empty.
@param filePath
Delete a binary file if it exists . And it ' s parent if it becomes empty . @param filePath
private void deleteBinaryFile(String filePath) {
		try {
			File f = new File(filePath);
			if (f.exists()) {
				File parent = f.getParentFile();
				f.delete();
				LocalLogger.logToStdOut("Deleted binary file: " + filePath);
				if (parent.isDirectory() && parent.list().length == 0) {
					parent.delete();
					LocalLogger.logToStdOut("Deleted empty parent dir: " + parent.getAbsolutePath());
				}
			}
		} catch (Exception e) {
			e.printStackTrace(System.err);
		}
	}
private void deleteBinaryFile ( String filePath ) { try { File f = new File ( filePath ) ; if ( f . exists ( ) ) { File parent = f . getParentFile ( ) ; f . delete ( ) ; LocalLogger . logToStdOut ( "Deleted binary file: " + filePath ) ; if ( parent . isDirectory ( ) && parent . list ( ) . length == 0 ) { parent . delete ( ) ; LocalLogger . logToStdOut ( "Deleted empty parent dir: " + parent . getAbsolutePath ( ) ) ; } } } catch ( Exception e ) { e . printStackTrace ( System . err ) ; } }
Delete a binary file if it exists.
Delete a binary file if it exists .