自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

原创 Using DOM parsing XML document

Assumed that we have an XML document named student. Now we will have some operation.Including add,drop and select. xmlDemo.java import java.io.File; import java.io.IOException; import java.util.

2015-11-15 10:25:56 336

原创 DatagramSocket

The client part. import java.io.IOException; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; public class UDPsend { /** * direction: This is a client

2015-11-11 01:08:23 434

原创 Copying about text file

import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; public class CopyOboutFile { /**

2015-11-11 00:41:04 321

原创 Some code about copying from a file to another

This code has a function about reading  some numbers  from a exiting  file, sorting and writing to another。  import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import

2015-11-09 06:05:13 516

原创 File

Now, I will tell you how to create a file or delete a file. Mable it very easy for someone, but  it indeed difficult for most students who learn java not too long. import java.io.File; import java.io

2015-11-01 08:01:07 508

原创 String

public class StringClass { public static void main(String[] args) { String s = new String("Welcom to Shandong Normal University"); System.err.println(s.length());// Returns the length of this str

2015-10-31 09:17:15 277

原创 BufferedInputStream

此类中的字段值: buf:是定义的一个缓冲区数组 protected volatile byte[] buf count:数组的大小 protected int count pos:数组中将要读取的下一个字符的索引(数组元素的下标值) protected int pos markpos:最后一次调用mark方法,pos的值 protected int

2015-10-28 10:01:01 318

翻译 Android滑动删除ListView

大家都知道手机QQ的会话列表有测滑删除的功能,那么这个功能究竟是怎样实现的?我从网上搜集了一套可以在eclipse中直接运行的源码分享给大家。

2015-07-30 13:56:06 340

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除