public function getNewline()
{
if (!isset($this->_browser)) {
throw new LogicException('Missing browser parameter.');
}
switch ($this->_browser->getPlatform()) {
case 'win':
return "\r\n";
case 'mac':
return "\r";
case 'unix':
default:
return "\n";
}
}