/** * Converts this revision into its RCS style string representation. * * @param s * a {@link StringBuilder StringBuffer} to which the string representation will be * appended. * @param EOL * the string to use as line separator. */ public synchronized void toRCSString(final StringBuilder s, final String EOL) { for (Delta deltas : deltas_) { deltas.toRCSString(s, EOL); } }
/** * Converts this delta into its RCS style string representation. * * @param EOL * the string to use as line separator. * @return String */ public String toRCSString(final String EOL) { StringBuilder s = new StringBuilder(); toRCSString(s, EOL); return s.toString(); }
/** * Converts this delta into its RCS style string representation. * * @param EOL * the string to use as line separator. * @return String */ public String toRCSString(String EOL) { StringBuffer s = new StringBuffer(); toRCSString(s, EOL); return s.toString(); }
/** * Converts this delta into its RCS style string representation. * * @param EOL * the string to use as line separator. * @return String */ public String toRCSString(String EOL) { StringBuffer s = new StringBuffer(); toRCSString(s, EOL); return s.toString(); }
/** * Converts this revision into its RCS style string representation. * * @param s * a {@link StringBuffer StringBuffer} to which the string representation will be * appended. * @param EOL * the string to use as line separator. */ public synchronized void toRCSString(StringBuffer s, String EOL) { Iterator<Delta> i = deltas_.iterator(); while (i.hasNext()) { (i.next()).toRCSString(s, EOL); } }
/** * Converts this revision into its RCS style string representation. * * @param s * a {@link StringBuffer StringBuffer} to which the string representation will be * appended. * @param EOL * the string to use as line separator. */ public synchronized void toRCSString(StringBuffer s, String EOL) { Iterator i = deltas_.iterator(); while (i.hasNext()) { ((Delta)i.next()).toRCSString(s, EOL); } }