如何打开FileChannel?

答案解析

通过FileInputStream/FileOutputStream/FileRandomAccessFile的getChannel方法获取。