Advertisement
Guest User

Untitled

a guest
Aug 1st, 2014
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. File file=new File(String sourcepathname);
  2. FileOutputStream fos=new FileOutputStream(String targetpath);
  3. ObjectOutputStream oos=new ObjectOutputStream(fos);
  4. oos.writeObject(file);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement