http://www.imooc.com/article/265871 详解:https://www.ibm.com/developerworks/cn/java/j-lo-javaio/index.html