package bridge; public class UpdateFileCommand extends FileCommand { private String content; super(filename); this.content = content; } public boolean Exec() { super.Exec(); try { oout.writeObject(content); oout.close(); this.errMess = e.getMessage(); return false; } return true; } }