public void write(java.lang.StringBuffer buf, int numContextLines) Same as write(Writer, int) but to a string buffer. Parameters: buf - the buffer numContextLines - the number of context lines. write public void write(java.lang.StringBuffer buf, java.lang.String lineSeparator, in...
* show diff between local file and repository file. * * @param file file to get diff * @return string diff * @throws VCSException */ @Override public String getDiff(File file) throws VCSException { String diff = null; try { ByteArrayOutputStream byte1 = new ByteArrayOutputStream();...
* show diff between local file and repository file. * * @param file file to get diff * @return string diff * @throws VCSException */ @Override publicStringgetDiff(Filefile)throwsVCSException{ Stringdiff=null; try{ ByteArrayOutputStreambyte1=newByteArrayOutputStream(); SVNDiffClientdiffClient=...