Code example for FileLock

Methods: release

0
	 
	public void unlock() 
	{ 
		try { 
			if (flout != null) {
				flout.release();
				flout=null;
			} 
			if (fcout != null) {
				fcout.close();
				fcout=null;
			} 
			if (out != null) {
				out.close();
				out = null;
			} 
		} catch (Exception e) {
			log.error("unlock",e);
		} 
	} 
Connect your IDE to all the code out there  Get Codota for Java