public static Writer getInstance ( Writer out ) { // Already in Unix format, no conversion necessary if ( UNIX_EOL . equals ( EOL ) ) return out ; // Use FindReplaceWriter return new FindReplaceWriter ( out , EOL , UNIX_EOL ) ; }
Gets an instance of the Writer that performs the conversion . The implementation may be optimized for common platforms .