Searched defs:file (Results 1 - 25 of 51) sorted by relevance

123

/opengrok-jel/src/org/opensolaris/opengrok/analysis/
H A DXrefReader.java38 * Create a new reader from the given file.
39 * @param file file to read.
43 public XrefReader(File file) throws UnsupportedEncodingException, IOException { argument
44 this (new XrefInputStream(file, true));
H A DXrefInputStream.java4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
12 * file and include the License file at LICENSE.txt.
56 private File file; field in class:XrefInputStream
65 * @param file file to read.
68 * @throws IOException on read error or if the given file is not a crossfile
70 public XrefInputStream(File file, boolean uncompress) throws IOException { argument
72 FileInputStream fis = new FileInputStream(file);
190 dump(File file, Writer out, boolean script) argument
[all...]
H A DCtags.java4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
12 * file and include the License file at LICENSE.txt.
99 command.add("--file-scope=yes");
165 * Run the ctags binary for the given file and return the symbols found.
166 * @param file file to process. Ignored if {@code null}.
171 public Definitions doCtags(String file) throws IOException { argument
172 if (file
[all...]
H A DXrefWriter.java4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
12 * file and include the License file at LICENSE.txt.
56 * file with the given name.
57 * @param name name of the file to create/overwrite.
67 * file with the given name.
68 * @param name name of the file to create/overwrite
79 * given file.
81 * @param file fil
85 XrefWriter(File file, Genre genre) argument
92 RandomFileOutputStream(File file) argument
126 XrefWriter(File file, Genre genre, boolean compress) argument
[all...]
/opengrok-jel/src/org/opensolaris/opengrok/history/
H A DSCCSget.java4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
12 * file and include the License file at LICENSE.txt.
35 public static InputStream getRevision(String command, File file, String revision) throws IOException { argument
44 argv.add(file.getCanonicalPath());
H A DAccuRevHistoryParser.java4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
12 * file and include the License file at LICENSE.txt.
53 * Parse the history for the specified file.
55 * @param file the file to parse history for
57 * @return the file's history
59 History parse(File file, Repository repos) { argument
63 String relPath = AccuRevRepository.getDepotRelativePath(file);
[all...]
H A DBazaarHistoryParser.java4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
12 * file and include the License file at LICENSE.txt.
58 History parse(File file, String sinceRevision) throws HistoryException { argument
60 Executor executor = repository.getHistoryLogExecutor(file, sinceRevision);
65 file.getAbsolutePath() + "' - Exit code " + status);
69 file.getAbsolutePath() + "'", e);
H A DClearCaseHistoryParser.java4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
12 * file and include the License file at LICENSE.txt.
45 History parse(File file, Repository repos) throws HistoryException { argument
48 Executor executor = repository.getHistoryLogExecutor(file);
53 file.getAbsolutePath() + "' - Exit code " + status);
59 file.getAbsolutePath() + "'", e);
H A DMonotoneHistoryParser.java4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
12 * file and include the License file at LICENSE.txt.
63 * Parse the history for the specified file or directory. If a changeset is
67 * @param file the file or directory to get history for
70 * @return history for the specified file or directory
73 History parse(File file, String changeset) throws HistoryException { argument
75 Executor executor = repository.getHistoryLogExecutor(file, changese
[all...]
H A DRCSget.java4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
12 * file and include the License file at LICENSE.txt.
46 * @param file
51 public RCSget(String file, String version) throws IOException { argument
53 Archive archive = new Archive(file);
71 throw new IOException("Invalid RCS file format: " + e.getMessage(), e);
H A DRepositoryFactory.java4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
12 * file and include the License file at LICENSE.txt.
74 * Get a repository for the given file, or null if no repository was found.
76 * @param file File that might contain a repository
77 * @return Correct repository for the given file
81 public static Repository getRepository(File file) argument
86 if (rep.isRepositoryFor(file)) {
89 res.setDirectoryName(file
[all...]
H A DCVSHistoryParser.java4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
12 * file and include the License file at LICENSE.txt.
125 * Parse the history for the specified file.
127 * @param file the file to parse history for
129 * @return object representing the file's history
131 History parse(File file, Repository repos) throws HistoryException { argument
134 Executor executor = repository.getHistoryLogExecutor(file);
[all...]
H A DMercurialHistoryParser.java4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
12 * file and include the License file at LICENSE.txt.
64 * Parse the history for the specified file or directory. If a changeset is
68 * @param file the file or directory to get history for
71 * @return history for the specified file or directory
74 History parse(File file, String changeset) throws HistoryException { argument
76 Executor executor = repository.getHistoryLogExecutor(file, changese
[all...]
H A DRCSHistoryParser.java4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
12 * file and include the License file at LICENSE.txt.
45 * Virtualise RCS file as a reader, getting a specified version
78 History parse(File file) throws HistoryException { argument
80 return parseFile(file);
86 private History parseFile(File file) throws IOException { argument
88 Archive archive = new Archive(getRCSFile(file).getPath());
100 throw new IOException("Could not parse file '"
128 getRCSFile(File file) argument
166 readFirstLine(File file) argument
[all...]
H A DRazorHistoryParser.java4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
12 * file and include the License file at LICENSE.txt.
61 History parse(File file, Repository repos) throws HistoryException { argument
63 return parseFile(file, repos);
69 private History parseFile(File file, Repository repos) argument
73 File mappedFile = repository.getRazorHistoryFileFor(file);
75 new String[] { file.getPath(), mappedFile.getPath() });
H A DAccuRevRepository.java4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
12 * file and include the License file at LICENSE.txt.
48 * It appears that the file path that is given to all these methods is the
49 * complete path to the file which includes the path to the root of the source
97 public Annotation annotate(File file, String rev) { argument
98 Annotation a = new Annotation(file.getName());
101 String path = getDepotRelativePath(file);
112 Executor executor = new Executor(cmd, file
146 getHistoryLogExecutor(File file) argument
230 fileHasHistory(File file) argument
238 fileHasAnnotation(File file) argument
250 getDepotRelativePath(File file) argument
336 getHistory(File file) argument
[all...]
H A DPerforceHistoryParser.java4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
12 * file and include the License file at LICENSE.txt.
48 * Parse the history for the specified file.
50 * @param file the file to parse history for
52 * @return object representing the file's history
55 static History parse(File file, Repository repos) throws HistoryException { argument
58 if (!new PerforceRepository().isRepositoryFor(file)) {
74 parseDirectory(File file) argument
86 getRevisions(File file, String rev) argument
[all...]
H A DPerforceRepository.java4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
12 * file and include the License file at LICENSE.txt.
72 public Annotation annotate(File file, String rev) throws IOException { argument
73 Annotation a = new Annotation(file.getName());
76 PerforceHistoryParser.getRevisions(file, rev).getHistoryEntries();
88 cmd.add(file.getPath() + ((rev == null) ? "" : "#" + rev));
90 Executor executor = new Executor(cmd, file.getParentFile());
110 logger.warning("Could not read annotations for '" + file
156 fileHasHistory(File file) argument
164 fileHasAnnotation(File file) argument
174 isRepositoryFor(File file) argument
235 getHistory(File file) argument
[all...]
/opengrok-jel/src/org/opensolaris/opengrok/analysis/sql/
H A DConsts.java4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
12 * file and include the License file at LICENSE.txt.
52 private static void populateKeywordSet(Set<String> set, String file) argument
58 Consts.class.getResourceAsStream(file), "US-ASCII"));
H A DPLSQLConsts.java4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
12 * file and include the License file at LICENSE.txt.
53 private static void populateKeywordSet(Set<String> set, String file) argument
59 Consts.class.getResourceAsStream(file), "US-ASCII"));
/opengrok-jel/src/org/opensolaris/opengrok/analysis/vb/
H A DConsts.java4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
12 * file and include the License file at LICENSE.txt.
53 private static void populateKeywordSet(Set<String> set, String file) argument
58 Consts.class.getResourceAsStream(file), "US-ASCII"));
/opengrok-jel/src/org/opensolaris/opengrok/configuration/
H A DProject.java4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
12 * file and include the License file at LICENSE.txt.
92 * file.separator , current environment should always have it set up
121 * Get the project for a specific file
122 * @param path the file to lookup (relative from source root)
123 * @return the project that this file belongs to (or null if the file
145 * Get the project for a specific file
150 getProject(File file) argument
[all...]
H A DRuntimeEnvironment.java4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
12 * file and include the License file at LICENSE.txt.
147 * Read an configuration file and set it as the current configuration.
148 * @param file the file to read
151 public static void readConfig(File file) throws IOException { argument
152 setConfig(Configuration.read(file));
156 * Write the current configuration to a file
160 writeConfig(File file) argument
[all...]
/opengrok-jel/src/org/opensolaris/opengrok/management/
H A DOGAgent.java4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
12 * file and include the License file at LICENSE.txt.
71 private static boolean loadProperties(File file, InputStream in, Properties props) { argument
75 if (file != null) {
76 stream = new FileInputStream(file);
103 File file = new File("/etc/opengrok/opengrok.properties");
104 if (file.exists()) {
105 success = loadProperties(file, nul
[all...]
/opengrok-jel/src/org/opensolaris/opengrok/web/
H A DDiffData.java4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
12 * file and include the License file at LICENSE.txt.
30 * for a certain versioned file.
47 /** file part of the URI request parameter 'r1' (decoded).
50 /** file part of the URI request parameter 'r2' (decoded).
66 /** the content of the original {@link #rev1} and new {@link #rev2} file.
67 * Each entry in file[n] represents exactly one line of source. */
68 public String[][] file; field in class:DiffData
[all...]

Completed in 116 milliseconds

123