If you want to input a system-dependent line break, use sth like writer.write( System.getProperty( "line.break" ); Not sure of the property name. You can check that out.
【在 xt 的大作中提到】 : : If you want to input a system-dependent line break, use sth like : writer.write( System.getProperty( "line.break" ); : Not sure of the property name. You can check that out.