IO 詳解 ,input與output 是以內存作爲參考

先上兩個demo: 第一個是直接寫文件  public static boolean writeFileContent(File file,String context,boolean append) throws IOException{         FileOutputStream fos  = null;         OutputStreamWriter pw = null;    
相關文章
相關標籤/搜索