CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - StreamTokenizer
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Sub Category
ASP
ASPX.NET
PHP
JSP/Java
FlashMX
Perl
Other Web Code
SilverLight
Search - StreamTokenizer - List
[
JSP/Java
]
analy3
DL : 0
编写一个文本文件分析程序,读入一个英文文本文件,统计其中单词、数字、标点符号等元素出现的次数,并记录单词总数。 提示:对文件的分析可以使用StreamTokenizer类-prepared a text file analysis program, read an English text files, statistics words, numbers, punctuation and other elements of the number and the total number of recorded words. Tip : the analysis of the document can be used StreamTokenizer category
Date
: 2008-10-13
Size
: 1.9kb
User
:
吴泽伟
[
JSP/Java
]
StreamTokenizer
DL : 0
本程序为StreamTokenizer类的示例,对输入的文件test.txt进行令牌化,统计其中的单数和数字数以及符号数-StreamTokenizer procedures for the kind of example, the importation of the paper test.txt for token, statistics on the number of single figures and the number of symbols
Date
: 2008-10-13
Size
: 2.12kb
User
:
余标
[
JSP/Java
]
fio
DL : 0
1.文件和目录管理,使用java.io.File类编程,完成如下功能: (1)输入文件名称 (2)判断该文件名称是否存在 (3)若文件存在,判断是文件还是目录 (4)若是文件则输出文件的各种属性 (5)若是目录则输出其中包含的所有文件的名称 2.二进制文件的读写操作,用InputStream和OutputStream及其子类,设计并实现一个可以完成文件复制操作的程序。 3.文本文件的读写操作,编写一个文本文件分析程序,读入一个英文文本文件,统计其中单词、数字、标点符号等元素出现的次数,并记录单词总数。提示:对文件的分析可以使用StreamTokenizer类。 4.异常处理程序的编写,在上述三个程序中应用异常处理方法增加程序的错误处理能力。-1. File and directory management, the use of java.io.File class programming to complete the following functions : (a) input file name (2) to determine that the names of the existence of documents (3) If the file exists, or judgment is that the paper catalog (4) If the paper is output files the various attributes (5) If the directories containing the output of all documents name two. Binary file reading or writing, using InputStream and OutputStream and its sub-class design and realization of a complete copy of the operating procedures. 3. The text files and write, to prepare a text file analysis program, read an English text files, statistics words, numbers, punctuation and other elements of the number and the total number of recorded words. Tip : the analysis of the document can be used S
Date
: 2008-10-13
Size
: 19.34kb
User
:
罗春威
[
JSP/Java
]
analy3
DL : 0
编写一个文本文件分析程序,读入一个英文文本文件,统计其中单词、数字、标点符号等元素出现的次数,并记录单词总数。 提示:对文件的分析可以使用StreamTokenizer类-prepared a text file analysis program, read an English text files, statistics words, numbers, punctuation and other elements of the number and the total number of recorded words. Tip : the analysis of the document can be used StreamTokenizer category
Date
:
Size
: 2kb
User
:
[
JSP/Java
]
StreamTokenizer
DL : 0
本程序为StreamTokenizer类的示例,对输入的文件test.txt进行令牌化,统计其中的单数和数字数以及符号数-StreamTokenizer procedures for the kind of example, the importation of the paper test.txt for token, statistics on the number of single figures and the number of symbols
Date
:
Size
: 2kb
User
:
余标
[
JSP/Java
]
fio
DL : 0
1.文件和目录管理,使用java.io.File类编程,完成如下功能: (1)输入文件名称 (2)判断该文件名称是否存在 (3)若文件存在,判断是文件还是目录 (4)若是文件则输出文件的各种属性 (5)若是目录则输出其中包含的所有文件的名称 2.二进制文件的读写操作,用InputStream和OutputStream及其子类,设计并实现一个可以完成文件复制操作的程序。 3.文本文件的读写操作,编写一个文本文件分析程序,读入一个英文文本文件,统计其中单词、数字、标点符号等元素出现的次数,并记录单词总数。提示:对文件的分析可以使用StreamTokenizer类。 4.异常处理程序的编写,在上述三个程序中应用异常处理方法增加程序的错误处理能力。-1. File and directory management, the use of java.io.File class programming to complete the following functions : (a) input file name (2) to determine that the names of the existence of documents (3) If the file exists, or judgment is that the paper catalog (4) If the paper is output files the various attributes (5) If the directories containing the output of all documents name two. Binary file reading or writing, using InputStream and OutputStream and its sub-class design and realization of a complete copy of the operating procedures. 3. The text files and write, to prepare a text file analysis program, read an English text files, statistics words, numbers, punctuation and other elements of the number and the total number of recorded words. Tip : the analysis of the document can be used S
Date
:
Size
: 19kb
User
:
罗春威
[
JSP/Java
]
Format_input
DL : 0
使用StreamTokenizer类对象读取标准输入的类,可以判断用户输入的值是否是整型、双精度型和字符串型。-StreamTokenizer class object using a class to read standard input, the user can determine whether the value entered is an integer, double and string.
Date
:
Size
: 1kb
User
:
Shirley
[
JSP/Java
]
Calculette
DL : 0
这是我在大学波尔多1类PROJET。我professieur Mr.Baudon创世这些代码给Java结构hashtree的例子。这是评估一个数值表达式,实现了类计算器。-This is to achieve a class calculator evaluating a numeric expression. Prefixed expressions are used to facilitate analysis: no priority no associativity the battery is required to calculate the recursive calls For example,+/4 2 1 the result is 3 (= 4/2+ 1) On the other hand, the character - being used as a sign by StreamTokenizer, the corresponding binary operator will be represented by the word "less".
Date
:
Size
: 6kb
User
:
jin
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.