Searched defs:contents (Results 1 - 5 of 5) sorted by relevance

/opengrok-jel/test/org/opensolaris/opengrok/analysis/
H A DTextAnalyzerTest.java4 * The contents of this file are subject to the terms of the
43 private String contents; field in class:TextAnalyzerTest
52 Assert.assertEquals("hello", contents);
62 Assert.assertEquals("hi", contents);
71 Assert.assertEquals("hello", contents);
86 Assert.assertEquals("hello", contents);
106 Assert.assertEquals("hello", contents);
122 contents = new String(buf, 0, br);
/opengrok-jel/src/org/opensolaris/opengrok/history/
H A DRazorHistoryParser.java4 * The contents of this file are subject to the terms of the
89 FileReader contents = new FileReader(mappedFile.getAbsoluteFile());
91 return parseContents(new BufferedReader(contents));
93 IOUtils.close(contents);
97 protected History parseContents(BufferedReader contents) throws IOException { argument
107 while ((line = contents.readLine()) != null) {
/opengrok-jel/src/org/opensolaris/opengrok/analysis/
H A DJFlexTokenizer.java4 * The contents of this file are subject to the terms of the
94 * Reinitialize the tokenizer with new contents.
96 * @param contents a char buffer with text to tokenize
99 public final void reInit(char[] contents, int length) { argument
100 yyreset(new CharArrayReader(contents, 0, length));
H A DFileAnalyzerFactory.java4 * The contents of this file are subject to the terms of the
143 * Get matchers that map file contents to analyzer factories
195 * Interface for matchers which map file contents to analyzer factories.
200 * Try to match the file contents with an analyzer factory.
204 * @param contents the first few bytes of a file
206 * @return an analyzer factory if the contents match, or {@code null}
209 FileAnalyzerFactory isMagic(byte[] contents, InputStream in) argument
H A DJFlexXref.java4 * The contents of this file are subject to the terms of the
217 * Reinitialize the xref with new contents.
219 * @param contents a char buffer with text to analyze
222 public void reInit(char[] contents, int length) { argument
223 yyreset(new CharArrayReader(contents, 0, length));

Completed in 11 milliseconds