87N/A * CDDL HEADER START 87N/A * The contents of this file are subject to the terms of the 87N/A * Common Development and Distribution License (the "License"). 87N/A * You may not use this file except in compliance with the License. 87N/A * language governing permissions and limitations under the License. 87N/A * When distributing Covered Code, include this CDDL HEADER in each 87N/A * If applicable, add the following below this CDDL HEADER, with the 87N/A * fields enclosed by brackets "[]" replaced with your own identifying 87N/A * information: Portions Copyright [yyyy] [name of copyright owner] 87N/A * Copyright 2007 Sun Microsystems, Inc. All rights reserved. 87N/A * Use is subject to license terms. 87N/A * Class representing file annotation, i.e., revision and author for the last 87N/A * modification of each line in the file. 87N/A * Gets the revision for the last change to the specified line. 87N/A * @param line line number (counting from 1) 91N/A * @return revision string, or an empty string if there is no information 91N/A * about the specified line 878N/A * Gets all revisions that are in use, first is the lowest one (sorted using natural order) 878N/A * @return list of all revisions the file has 87N/A * Gets the author who last modified the specified line. 87N/A * @param line line number (counting from 1) 91N/A * @return author, or an empty string if there is no information about the 168N/A * Gets the enabled state for the last change to the specified line. 168N/A * @param line line number (counting from 1) 168N/A * @return true if the xref for this revision is enabled, false otherwise 87N/A * Returns the size of the file (number of lines). 87N/A * @return number of lines 87N/A * Returns the widest revision string in the file (used for pretty 87N/A * @return number of characters in the widest revision string 87N/A * Returns the widest author name in the file (used for pretty printing). 87N/A * @return number of characters in the widest author string 87N/A * Adds a line to the file. 87N/A * @param revision revision number 87N/A * @param author author name 87N/A /** Class representing one line in the file. */ 878N/A //TODO below might be useless, need to test with more SCMs and different commit messages 878N/A // to see if it will not be usefull, if title attribute of <a> loses it's breath