Code example for FileChannel

Methods: force

0
		} 
	} 
 
    public synchronized void flush() throws IOException { 
		buffer.force();
		channel.force(true);
	} 
 
    @Override 
	protected void finalize() throws Throwable { 
		close(); 
	} 
}