0N/A * The contents of this file are subject to the terms of the 0N/A * Common Development and Distribution License (the "License"). 0N/A * You may not use this file except in compliance with the License. 0N/A * language governing permissions and limitations under the License. 0N/A * When distributing Covered Code, include this CDDL HEADER in each 0N/A * If applicable, add the following below this CDDL HEADER, with the 0N/A * fields enclosed by brackets "[]" replaced with your own identifying 0N/A * information: Portions Copyright [yyyy] [name of copyright owner] 0N/A * Copyright 2005 Trond Norbye. All rights reserved. 0N/A * Use is subject to license terms. 0N/A * The hit class represents a single search hit 0N/A * @author Trond Norbye 0N/A * Holds value of property filename. 0N/A * Holds value of property directory 0N/A * Holds value of property line. 0N/A * Holds value of property lineno. 0N/A * Holds value of property binary. 0N/A * Holds value of property alt used to hightlight alternating files. 0N/A * path relative to source root. 0N/A * Creates a new instance of Hit 0N/A * Creates a new instance of Hit 0N/A * @param filename The name of the file this hit represents 0N/A * @param line The line containing the match 0N/A * @param lineno The line number in the file the match was found 0N/A * @param binary If this is a binary file or not 511N/A * @param alt Is this the "alternate" file 0N/A * Getter for property filename. 0N/A * @return Value of property filename. 0N/A * Getter for property path. 0N/A * @return Value of property path. 0N/A * Getter for property directory 0N/A * @return Value of property directory 0N/A * Setter for property filename. 0N/A * @param filename New value of property filename. 0N/A * Getter for property line. 0N/A * @return Value of property line. 0N/A * Setter for property line. 0N/A * @param line New value of property line. 0N/A * Getter for property lineno. 0N/A * @return Value of property lineno. 0N/A * Setter for property lineno. 0N/A * @param lineno New value of property lineno. 0N/A * Compare this object to another hit (in order to implement the comparable 0N/A * @param o The object to compare this object with 0N/A * @return the result of a toString().compareTo() of the filename 0N/A * Getter for property binary. 0N/A * @return Value of property binary. 0N/A * Setter for property binary. 0N/A * @param binary New value of property binary. 0N/A * Holds value of property tag. 0N/A * Getter for property tag. 0N/A * @return Value of property tag. 0N/A * Setter for property tag. 0N/A * @param tag New value of property tag. 0N/A * Should this be alternate file? 511N/A * @return true if this is the "alternate" file 401N/A * Check if two objects are equal. Only consider the {@code filename} field 401N/A * to match the return value of the {@link #compareTo(Hit)} method. 511N/A * @param o the object to compare with 511N/A * @return true if the filenames are equal