protected void displayHeaderFields(OutputStream os, String label1, String label2) throws IOException { os.write("--- ".getBytes(getEncoding())); String originalLabel = null; String newLabel = null; try { originalLabel = generateLabel(myOriginalRoot, myOriginalPath); newLabel = generateLabel(myNewRoot, myNewPath); } catch (SVNException svne) { throw new IOException(svne.getLocalizedMessage()); } os.write(originalLabel.getBytes(getEncoding())); os.write(getEOL()); os.write("+++ ".getBytes(getEncoding())); os.write(newLabel.getBytes(getEncoding())); os.write(getEOL()); }
protected void displayHeaderFields(OutputStream os, String label1, String label2) throws IOException { os.write("--- ".getBytes(getEncoding())); String originalLabel = null; String newLabel = null; try { originalLabel = generateLabel(myOriginalRoot, myOriginalPath); newLabel = generateLabel(myNewRoot, myNewPath); } catch (SVNException svne) { throw new IOException(svne.getLocalizedMessage()); } os.write(originalLabel.getBytes(getEncoding())); os.write(getEOL()); os.write("+++ ".getBytes(getEncoding())); os.write(newLabel.getBytes(getEncoding())); os.write(getEOL()); }
protected void displayHeaderFields(OutputStream os, String label1, String label2) throws IOException { os.write("--- ".getBytes(getEncoding())); String originalLabel = null; String newLabel = null; try { originalLabel = generateLabel(myOriginalRoot, myOriginalPath); newLabel = generateLabel(myNewRoot, myNewPath); } catch (SVNException svne) { throw new IOException(svne.getLocalizedMessage()); } os.write(originalLabel.getBytes(getEncoding())); os.write(getEOL()); os.write("+++ ".getBytes(getEncoding())); os.write(newLabel.getBytes(getEncoding())); os.write(getEOL()); }