Runtime rt = Runtime.getRuntime(); try { Process atob = rt.exec(bin_path + "icisbtoa " + type + " " + file_name); atob.waitFor(); } catch (InterruptedException ie) { if (logger.isErrorEnabled()) { logger.error("binaryToAscii()" + fail_msg + ie); } return false; } catch (IOException ioe) { if (logger.isErrorEnabled()) { logger.error("binaryToAscii()" + fail_msg + ioe); } return false; } return true; }
    public static boolean  binaryToAscii(String bin_path, String type, String file_name) {	// Warning: uses a linux executable.	String fail_msg = type+" failure to convert input file: "+file_name+" because: ";	if (!System.getProperty("os.name").equals("Linux")) {	    GLMDebug.ERROR("binaryToAscii()", fail_msg+"icisbtoa exec only expected to run on Linux.");	    return false;	}	Runtime rt = Runtime.getRuntime();	try {	    Process atob = 		rt.exec(bin_path+"icisbtoa "+type+" "+file_name);	    atob.waitFor();	} catch (InterruptedException ie) {	    GLMDebug.ERROR("binaryToAscii()", fail_msg + ie);	    return false;	} catch (IOException ioe) {	    GLMDebug.ERROR("binaryToAscii()", fail_msg + ioe);	    return false;	}	return true;    }