|
Starting from release 1.16, the MaxBase suite has gained another application: the file converter. Use it to import external databases, encode/decode files with the Base 64 algorithm, or convert files between platforms. The application can be started by typing 'java nrio.utils.convert' (of course you must have the MaxBase classes in your classpath), or by double clicking on its icon if you have it installed on your desktop. The first page contains the options that will let you import/export databases: You can import from the following formats:
Additionally, you can export to one of the following formats:
When you have finished entering information, press the convert button and the status label will keep you informed about the status of the conversion. Notes:
On the second page, you will find a small Base 64 encoder/decoder for your DBs (it only works with ASCII files), so you can safely import/export them into mini and mainframes. Import a file with the "load file.." button, check the "encode" or "decode" button, and press "go!" to convert it. Then, you can export the converted file by pressing "save file.." or "select all" buttons (in this latter case you can thus insert the whole text into the clipboard). Finally, in the third page you can convert files among platforms. As you probably know, the line terminator sequence is not standard among the operating systems. For example, Unix uses the \n character to terminate a line, while Macs use the \r character. since MaxBase files are text files, you need this utility to export/import your DBs to/from other operating systems. To convert a file, just enter two file names, select their format and press "convert". The status label will show information on the outcome of the conversion. |
Max
Marsiglietti © 1997
Layout and
artwork Andrea Resmini 1997