| The nrio.utils.convert class can be used to convert files among platforms. As of today the following methods are implemented: translate Converts files among PC, Unix, MacIntosh file formats boolean translate(String mode, String InputFile, String OutputFile) This method converts the InputFile file into OutputFile, according to mode. 'Mode' can be one of the following: p2u, u2p, p2m, m2p, u2m, m2u. P stands for PC, and means that the file is \r\n terminated. U stands for Unix, and means that the file is \n terminated. M stands for MacIntosh, and means that the file is \r terminated.

Max Marsiglietti © 1997
Layout and artwork Andrea Resmini 1997