code: static void checkSurroundByQuotesAndWrite(Writer writer, String delimiter, String trimmedText) throws IOException {
          writer.write(checkSurroundByQuotes(delimiter, trimmedText));
      }
docs: The method to write a text represented by an array of bytes using writer.
  If the text contains the delimiter, line breaks, tabulation characters, and double quotes, the text is stropped.
  
  @param writer      the variable to output data.
  @param delimiter   if trimmedText contains this delimiter it will be stropped.
  @param trimmedText the array of bytes that contains the text to output.
  @throws java.io.IOException appears if the output into writer is impossible.