/** * Appends the string representation of this version onto the * <code>sb</code> StringBuffer. * @param sb The buffer that will receive the version string */ public void toString(StringBuffer sb) { if (this == emptyVersion) sb.append("0.0.0"); //$NON-NLS-1$ else { sb.append(RAW_PREFIX); VersionVector.toString(sb, vector, padValue, false); if (format != null || original != null) { sb.append('/'); if (format != null) format.toString(sb); if (original != null) { sb.append(':'); originalToString(sb, false); } } } }