搜索资源列表
java7
- Java I/O操作,字节流InputStream和OutputStream,字符流Reader和Writer,Java I/O库的设计原则,字符集的编码,RandomAccessFile类,管道流,对象的序列化。
CountWord
- 编写一个Java应用程序,使用RandomAccessFile流统计Hello.txt中的单词,要求如下: (1)计算全文中共出现了多少个单词(重复的单词只计算一次); (2)统计出有多少个单词只出现了一次; (3)统计并显示出每个单词出现的频率,并将这些单词按出现频率高低顺序显示在一个TextArea中 -Write a Java application, using the RandomAccessFile stream statistics
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 library design principles, charact
JAVAIO
- 关于代码的解释(以区为单位): 1区中,当读取文件时,先把文件内容读到缓存中,当调用in.readLine()时,再从缓存中以字符的方式读取数据(以下简称“缓存字节读取方式”)。 1b区中,由于想以缓存字节读取方式从标准IO(键盘)中读取数据,所以要先把标准IO(System.in)转换成字符导向的stream,再进行BufferedReader封装。 2区中,要以字符的形式从一个String对象中读取数据,所以要产生一个StringReader类型的stream。 4区中,对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 other types of file access pe
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 library design principles, charac
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, where a table represents one tool.
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 in reverse order data and disp
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 bytes of the file will begin after
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 reverse order read from the file rec
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 several integer of type int (1
IOexample
- JAVAIO流简单实现,用到了RandomAccessFile,向指定文件的任意位置写入简单数据类型-JAVAIO the flow simple implementation, use RandomAccessFile, simple data types to write to the specified file anywhere
db
- 用randomaccessfile来简单写一个数据库的程序,java版本-Randomaccessfile to simply write a database program, java version
Code33
- 本程序关于Java I/O操作,字节流InputStream和OutputStream,字符流Reader和Writer,Java I/O库的设计原则,字符集的编码,RandomAccessFile类,管道流,对象的序列化。-This program on the Java graphical interface programming, AWT, layout managers, event model, JFC, Swing Programming
test_asynctask
- Android断点续传及网格文件下载的Java实例源代码,支持在暂停下载后继续下载,现在很多下载软件普遍都使用的功能,在Android手机软件中应用断点续传技术也是很有必要的。通过这个Android源码可学习一下如何基于Java代码实现断点续传的应用,比如如何设置当前线程下载的起点、终点,设置断点续传的开始位置,设置User-Agent ,httpURLConnection.setRequestProperty("User-Agent","NetFox") 设置断点续传的开始位置,httpURL
rANDOMaCCESSfILE.RAR
- RandomAccessFile implements DataInput, DataOutput, Closeable Source Code for Java scr ipt.