O'Reilly logo

Enterprise Curl by Paul Sheehan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

SaveData

The SaveData class allows the user to save the contents of the ReturnTable being displayed in a file of the user's choosing to any storage media to which the user currently has access. Due to the complexity of the code in the SaveData class, it will be described in two sections. Figure 11-9 partially lists the code required to support this functionality.

SaveData has one method called {open-save-dialog}, which takes a reference to the Table in which the data is required to be saved. It uses the {choose-location} procedure, which allows the user to enter a Web address or choose a file location. However, before calling this procedure, we must create an {Array-of FileDialogTypeFilter} that is used as a keyword argument in the {choose-location} ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required