搜索资源列表
dnzyz
- RandomAccessFile 对文件操作,很好用的哟-RandomAccessFile right file manipulation, good use of yo
java7
- Java I/O操作,字节流InputStream和OutputStream,字符流Reader和Writer,Java I/O库的设计原则,字符集的编码,RandomAccessFile类,管道流,对象的序列化。
javaNIO
- 一系列缓冲区类支撑起了 Java 2 平台标准版的新 I/O(NIO)包。这些类的数据容器形成了其它 NIO 操作(如套接字通道上的非阻塞读取)的基础。在本月的 Merlin 的魔力中,常驻 Java 编程专家 John Zukowski 展示了如何操作那些数据缓冲区来执行如读/写原语这样的任务以及如何使用内存映射文件。在以后的文章里,他将把这里所提到的概念扩展到套接字通道的使用。 Java 2 平台标准版(Java 2 Platfor
java7
- Java I/O操作,字节流InputStream和OutputStream,字符流Reader和Writer,Java I/O库的设计原则,字符集的编码,RandomAccessFile类,管道流,对象的序列化。-Java I/O operations, byte-stream InputStream and OutputStream, character stream Reader and Writer, Java I/O libr
RandomExample
- 使用RandomAccessFile类处理文件. RandomAccessFile类创建的流的指向既可以作为目的,称为随机读写流.-RandomAccessFile file type to use to deal with. RandomAccessFile created flow type can point to as the purpose, known as random access stream.
IOofJava2008
- Java I/O操作,字节流InputStream和OutputStream,字符流Reader和Writer,Java I/O库的设计原则,字符集的编码,RandomAccessFile类,管道流,对象的序列化。-Java I/O operations, byte-stream InputStream and OutputStream, character stream Reader and Writer, Java I/O libr
randomaccessfile
- 体会RandomAccessFile随机访问文件的用法-Random access files RandomAccessFile experience usage
JAVAIO
- 关于代码的解释(以区为单位): 1区中,当读取文件时,先把文件内容读到缓存中,当调用in.readLine()时,再从缓存中以字符的方式读取数据(以下简称“缓存字节读取方式”)。 1b区中,由于想以缓存字节读取方式从标准IO(键盘)中读取数据,所以要先把标准IO(System.in)转换成字符导向的stream,再进行BufferedReader封装。 2区中,要以字符的形式从一个String对象中读取数据,所以要产生一个S
BufferedRandomAccessFile_src
- JAVA的文件随机存取(RandomAccessFile)的I/O效率较低。通过分析其中原因,提出解决方案。通过与其它文件访问类的性能对比,证明了其实用价值。-JAVA random access of the document (RandomAccessFile) of I/O and less efficient. By analyzing the reasons for these proposed solutions. With
Code
- Java I/O操作,字节流InputStream和OutputStream,字符流Reader和Writer,Java I/O库的设计原则,字符集的编码,RandomAccessFile类,管道流,对象的序列化。-Java I/O operations, byte streams InputStream and OutputStream, character stream Reader and Writer, Java I/O lib
A_Basic_Ha19526011302005
- Rewritten on 11/30/05. In this rewrite, the GUI is virtually the same, but the underlying code has had a major rewrite. In the previous version, there was one table. In this version, we have gone to multiple tables, wher
ReverseFileDigit
- 利用RandomAccessFile类,把几个int型整数(1,2,3,4,5,6,7,8,9,10)写入到一个名字为tom.dat文件中,然后按相反顺序读出这些数据并显示在屏幕上-Use RandomAccessFile class, the number of int-type integer (1,2,3,4,5,6,7,8,9,10) tom.dat written to a named file, then read out
CountWord
- 编写一个Java应用程序,使用RandomAccessFile流统计Hello.txt中的单词,要求如下: (1)计算全文中共出现了多少个单词(重复的单词只计算一次); (2)统计出有多少个单词只出现了一次; (3)统计并显示出每个单词出现的频率,并将这些单词按出现频率高低顺序显示在一个TextArea中 -Write a Java application, using the Rand
RandomFileAfterTwelve
- 编写一个Java应用程序,利用RandomAccessFile类往某个文本文件中写入20个整数(0~19),然后从该文件的第12个字节开始,将后面所有的数据(对应写入的整数)读出。-Write a Java application, use RandomAccessFile class to write to a text file 20 integer (0 ~ 19), and then from the first 12 byte
goods
- 可随机存取文件中的记录,主要应用java中的RandomAccessFile实现-Random access files can be recorded, the main application of java implementation of the RandomAccessFile
JavaIO
- Java Io类 包括File类和RandomAccessFile类的使用示例-Java Io category includes File and RandomAccessFile classes use class examples
Exe10_7
- 通过RandomAccessFile类实现将一个文本文件的内容倒序输出-By RandomAccessFile class implements the contents of a text file output reverse
RandomFileTest
- 采用二进制方式将一组对象写入文件,对象以固定长度写入,并用RandomAccessFile实现随机存取;以倒序的方式从文件中读出记录,并在控制台显示-Using a set of binary object written to the file, write to object to a fixed length, and use RandomAccessFile to achieve random access in revers
itat03
- *3编写一个Java应用程序,利用RandomAccessFile类,把几个int型整数(1,2,3,4,5,6,7,8,9,10) * 写入到一个名字为tom.dat文件中,然后按相反顺序读出这些数据并显示在屏幕上。(注意,一个int型数据占4个字节)(本题30分) */-* 3 to write a Java application using the RandomAccessFile class, written to
rANDOMaCCESSfILE.RAR
- RandomAccessFile implements DataInput, DataOutput, Closeable Source Code for Java scr ipt.