freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

清華大學(xué)javalppt課件-資料下載頁

2025-05-01 08:09本頁面
  

【正文】 ter( new BufferedWriter(new FileWriter(“)))。 寫文件 (… ) flush() close() System類及標(biāo)準(zhǔn)輸入輸出 ? static PrintStream err 標(biāo)準(zhǔn)錯誤輸出流 ? static InputStream in 標(biāo)準(zhǔn)輸入流 ? static PrintStream out 標(biāo)準(zhǔn)輸出流 ? OutputStream ? FilterOutputStream ? PringStream 提供輸出各種類型數(shù)據(jù)的方法( print ,println) 不拋出 I/O例外 (可用 checkError 方法檢測) 可設(shè)置自動刷新 (…) System類及標(biāo)準(zhǔn)輸入輸出 BufferedReader stdin = new BufferedReader( new InputStreamReader() )。 ? () 讀一個字符 ? String readLine() 讀一行 ? read(char[] cbuf, int off, int len) 將指定數(shù)量 (len)字符讀到字符數(shù)組中的指定位置( off) ? InputStreamReader 沒有 readLine() 方法 ? BufferedReader(Reader) 構(gòu)造函數(shù) 5 輸入輸出流例 對象流 FileOutputStream ostream = new FileOutputStream()。 ObjectOutputStream p = new ObjectOutputStream(ostream)。 (12345)。 (Today)。 (new Date())。 ()。 ()。 輸入輸出流例 對象流 FileInputStream istream = new FileInputStream()。 ObjectInputStream p = new ObjectInputStream(istream)。 int i = ()。 String today = (String)()。 Date date = (Date)()。 ()。 6 管道與流 ? 標(biāo)準(zhǔn)輸入 /輸出 ? 改道 — 標(biāo)準(zhǔn)輸入 /輸出 ( ) ? 管道 — 將一個程序的標(biāo)準(zhǔn)輸出作為另一個程序的標(biāo)準(zhǔn)輸入 ( | ) ? sort 對輸入數(shù)據(jù)排序,然后輸出 ? more 分頁顯示 dir | sort | more 進(jìn)程 2 PipedInputStream 進(jìn)程 1 PipedOutputStream 7 小結(jié) ? /寫出器 ? 連接流到具體的數(shù)據(jù)源或數(shù)據(jù)目的地。 ? 加強(qiáng)流的處理功能。 ? ImputStream ? 來源: Byte,File,Pipe,Sequence, String ? 加強(qiáng)( Buffered) ? OutputStream(類似) ? Reader / Writer ? 低級讀入器從各種源取得原始數(shù)據(jù),高級過濾讀入器組織低級讀入器傳遞的數(shù)據(jù)。 ? 低級寫出器將字符傳給各自目標(biāo),高級寫出器將組織好的字符發(fā)送給其他寫出器。
點(diǎn)擊復(fù)制文檔內(nèi)容
教學(xué)課件相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1