`
ljs120ljs
  • 浏览: 7679 次
  • 性别: Icon_minigender_1
  • 来自: 苏州
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论
文章列表
Test t = new Test("123456",1); FileOutputStream fos = new FileOutputStream("D:\\object.txt"); ObjectOutputStream oos = new ObjectOutputStream(fos); oos.writeObject(t); oos.close(); fos.close(); FileInputStream fis = new FileInputStream("D:\\object.txt&qu ...
package ftp; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.net.SocketException; import java.util.ArrayList; import java.util.List; import java.util.StringTokenizer; import sun.net.TelnetOutputStream; import sun.net.ftp.FtpClient; import sun.net.ftp.Ftp ...
package selftest; import java.io.*; import java.util.Enumeration; import java.util.Hashtable; import javax.xml.parsers.ParserConfigurationException; import javax.xml.parsers.SAXParser; import javax.xml.parsers.SAXParserFactory; import org.xml.sax.*; public class SAXHandler extends HandlerBase { ...
package selftest; import java.io.IOException; import java.io.StringWriter; import java.sql.ResultSet; import java.sql.SQLException; import org.jdom.Document; import org.jdom.Element; import org.jdom.output.Format; import org.jdom.output.XMLOutputter; public class TestBean { private Integer id; p ...
package selftest; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.net.ServerSocket; import java.net.Socket; public class SocketTest { public Socke ...
package selftest; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.Enumeration; import ...
Global site tag (gtag.js) - Google Analytics