码迷,mamicode.com
首页 >  
搜索关键字:txt    ( 16374个结果
Java输入数据流
@Test public void test() throws Exception{ //创建输入数据流对象 InputStream In=new FileInputStream("HellWord.txt"); try { //System.out.print((ch...
分类:编程语言   时间:2014-06-18 21:39:04    阅读次数:226
spring源码分析构建
命令如下:antant install-mavenant jar packageE:\download\spring-framework-3.1.3.RELEASE\build-spring-framework\readme.txtreadme.txt文档很重要,里面有非常重要的命令,如果导入ecl...
分类:编程语言   时间:2014-06-18 21:37:52    阅读次数:203
Java数据流之File
@Test public void fileTest() { //创建File 对象 File file=new File("hell.txt"); //获取文件名 System.out.println(file.getName()); //访问文件的绝对路径 System.out.p...
分类:编程语言   时间:2014-06-18 21:22:15    阅读次数:296
java 输出流
//输出流 @Test public void testOutStream() throws Exception{ OutputStream out =new FileOutputStream("abc.txt"); String content="hello word/nwww.baidu.c.....
分类:编程语言   时间:2014-06-18 21:16:47    阅读次数:280
在文件中读取、存储Json格式的字符串
public class Weather { static readonly string FilePath = System.Environment.CurrentDirectory + @"\Area.txt"; public static Models.Are...
分类:Web程序   时间:2014-06-18 19:31:48    阅读次数:140
boost::asio译文
Christopher KohlhoffCopyright © 2003-2012 Christopher M. Kohlhoff以Boost1.0的软件授权进行发布(见附带的LICENSE_1_0.txt文件或从http://www.boost.org/LICENSE_1_0.txt)Boost....
分类:其他好文   时间:2014-06-18 19:27:19    阅读次数:279
Java缓存流
//缓存数据流 @Test public void testBufferReaderAndWriter() throws IOException{ //创建文件字符输入流 Reader in=new FileReader("abc.txt"); BufferedReader br=new Bu...
分类:编程语言   时间:2014-06-18 19:22:40    阅读次数:300
[C++]读写文件
C++对文件处理没有shell等脚本语言方便,但也不是无计可施。#include #include #include #include using namespace std;int main(){ ifstream in("a.txt"); ofstream out("b.txt"); if(!i...
分类:编程语言   时间:2014-06-18 18:27:39    阅读次数:231
C#遍历文件夹(包括子目录)下的所有文件
前提现在一个分区下建立bb.txt文件。 1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Drawing; 6...
分类:其他好文   时间:2014-06-17 00:00:48    阅读次数:228
Hadoop入门进阶步步高(四)-测试Hadoop
四、测试Hadoop一个简单的求每年温度最大值的程序。1、准备两个文本测试数据准备两个名为data1.txt及data2.txt的文件,用于做为计算的输入数据,将其放于/home/fenglibin/java/data目录下:data1.txtdata2.txt1999 101999 201999 252000 212000 222000 182000 402001 452001 652002 9...
分类:其他好文   时间:2014-06-16 20:52:57    阅读次数:443
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!