Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- File file=new File(String sourcepathname);
- FileOutputStream fos=new FileOutputStream(String targetpath);
- ObjectOutputStream oos=new ObjectOutputStream(fos);
- oos.writeObject(file);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement