/** Prints the headers into the provided PrintWriter. */ private void printHeaders(final BufferedWriter out) throws IOException { for (final Header h : this.headers) { out.append(MAJOR_HEADER_PREFIX); out.append(h.getClass().getName()); out.newLine(); out.append(MINOR_HEADER_PREFIX); out.append(h.toString()); out.newLine(); } }
/** Prints the headers into the provided PrintWriter. */ private void printHeaders(final BufferedWriter out) throws IOException { for (final Header h : this.headers) { out.append(MAJOR_HEADER_PREFIX); out.append(h.getClass().getName()); out.newLine(); out.append(MINOR_HEADER_PREFIX); out.append(h.toString()); out.newLine(); } }
/** Prints the headers into the provided PrintWriter. */ private void printHeaders(final BufferedWriter out) throws IOException { for (final Header h : this.headers) { out.append(MAJOR_HEADER_PREFIX); out.append(h.getClass().getName()); out.newLine(); out.append(MINOR_HEADER_PREFIX); out.append(h.toString()); out.newLine(); } }