public class ssss {
???
??? /** Creates a new instance of ssss */
??? public ssss() {
??? }
??? public static void main(String s[]) throws IOException{
?//?????? java.net.URL? m=new java.net.URL("
?? //???? HttpURLConnection sst=(HttpURLConnection) m.openConnection();
//?????????? DataInputStream in = new DataInputStream(connection.getInputStream());
? //????????? DataOutputStream out = new DataOutputStream(new FileOutputStream(fileName));
????? DataInputStream? tttt= new?? DataInputStream((InputStream)new FileInputStream("c://ffffff.java.bak"));
? //????? DataInputStream tttt=new DataInputStream(sst.getInputStream());
??????? DataOutputStream out = new DataOutputStream(new FileOutputStream("D://ffffff.java.bak"));
??????? byte[] buffer = new byte[4096];
??????? int count=0;
??????? while ((count = tttt.read(buffer))>0){
??????????? out.write(buffer,0,count);
??????? }
??????? out.close();
??????? tttt.close();
??? }
大盤預測
國富論
posted on 2007-10-31 16:32
華夢行 閱讀(188)
評論(0) 編輯 收藏 所屬分類:
JDK