Code example for FileOutputStream

Methods: close

0
			return; 
		} 
		FileOutputStream out = null;
 
		try { 
			out = new FileOutputStream(FileUtil.getCompilerConfigFile());
 
			compilerProperties.store(out, "Robocode Compiler Properties");
		} catch (IOException e) {
			Logger.logError(e);
		} finally { 
			if (out != null) {
				try { 
					out.close();
				} catch (IOException ignored) {}
			} 
		} 
	} 
}