public String writeDataFile() throws DataFileException {
  ByteArrayOutputStream bos=new ByteArrayOutputStream();
  writeDataFile(bos);
  String outString=bos.toString();
  try {
    if (bos != null)     bos.close();
  }
 catch (  IOException e) {
    Debug.logWarning(e,module);
  }
  return outString;
}

public String writeDataFile ( ) throws DataFileException { ByteArrayOutputStream bos = new ByteArrayOutputStream ( ) ; writeDataFile ( bos ) ; String outString = bos . toString ( ) ; try { if ( bos != null ) bos . close ( ) ; } catch ( IOException e ) { Debug . logWarning ( e , module ) ; } return outString ; }
returns the records in this datafile object as a plain text data file content
