File tree Expand file tree Collapse file tree 3 files changed +33
-8
lines changed
Expand file tree Collapse file tree 3 files changed +33
-8
lines changed Original file line number Diff line number Diff line change 22<classpath >
33 <classpathentry kind =" src" path =" src" />
44 <classpathentry kind =" con" path =" org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8" />
5- <classpathentry kind =" lib" path =" D:/Program Files/ eclipse/log4j-1.2.17.jar" />
6- <classpathentry kind =" lib" path =" D:/Program Files/ eclipse/lombok.jar" />
5+ <classpathentry kind =" lib" path =" D:/eclipse/log4j-1.2.17.jar" />
6+ <classpathentry kind =" lib" path =" D:/eclipse/lombok.jar" />
77 <classpathentry kind =" output" path =" bin" />
88</classpath >
Original file line number Diff line number Diff line change 1+ package com ._520it .io4 ;
2+
3+ import java .io .File ;
4+ import java .io .FileNotFoundException ;
5+ import java .io .FileOutputStream ;
6+ import java .io .OutputStream ;
7+
8+ /**
9+ * 文件字节输出流
10+ * @author crazyxia
11+ *
12+ */
13+ public class FileOutputStreamDemo {
14+ public static void main (String [] args ) throws Exception {
15+ //创建目标对象
16+ File target =new File ("file/stream.txt" );
17+ //创建文件字节输出流对象
18+ OutputStream out =new FileOutputStream (target ,true );
19+ //
20+ out .write ("will" .getBytes (),5 ,4 );
21+
22+ out .close ();
23+ }
24+ }
Original file line number Diff line number Diff line change @@ -13,7 +13,9 @@ <h1>蓝翔培训,中国技术人才摇篮</h1>
1313 < li > java培训</ li >
1414 < li > c++培训</ li >
1515 < hr />
16+
1617 </ ol >
18+ < a href ="http://www.baidu.com "> 蓝翔官方链接</ a >
1719 < ul >
1820 < li > 收费明细</ li >
1921 < li > 联系方式</ li >
@@ -23,18 +25,17 @@ <h1>蓝翔培训,中国技术人才摇篮</h1>
2325 <!-- 注释 -->
2426 < dl >
2527 < dt > 技术摇篮</ dt >
26- < dd > 中国皇家技术学院< form >
27-
28- </ form > </ dd >
28+ < dd >
29+ 中国皇家技术学院
30+ < form > </ form >
31+ </ dd >
2932 < table border ="1 ">
3033 < tr >
3134 < td > 挖掘机技术</ td >
3235 < td > 火箭炮技术</ td >
3336 </ tr >
3437 </ table >
3538 </ dl >
36- < form action ="">
37-
38- </ form >
39+ < form action =""> </ form >
3940</ body >
4041</ html >
You can’t perform that action at this time.
0 commit comments