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

123

/opengrok/src/org/opensolaris/opengrok/analysis/
H A DStreamSource.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.
54 * reads data from a file.
56 * @param file the data file
57 * @return a stream source that reads from {@code file}
59 public static StreamSource fromFile(final File file) { argument
63 return new BufferedInputStream(new FileInputStream(file));
[all...]
/opengrok/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 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.
47 public RCSget(String file, String version) throws IOException, FileNotFoundException { argument
49 Archive archive = new Archive(file);
67 throw RCSRepository.wrapInIOException("Invalid RCS file format", e);
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.
55 * Parse the history for the specified file.
57 * @param file the file to parse history for
59 * @return object representing the file's history
62 History parse(File file, Repository repos) throws HistoryException { argument
69 String relPath = repository.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.
59 History parse(File file, String sinceRevision) throws HistoryException { argument
61 Executor executor = repository.getHistoryLogExecutor(file, sinceRevision);
66 file.getAbsolutePath() + "\" Exit code: " + status);
70 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.
48 History parse(File file, Repository repos) throws HistoryException { argument
51 Executor executor = repository.getHistoryLogExecutor(file);
56 file.getAbsolutePath() + "\" Exit code: " + status);
62 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 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.
79 * Returns a repository for the given file, or null if no repository was
82 * @param file File that might contain a repository
83 * @return Correct repository for the given file
87 * file
89 public static Repository getRepository(File file) throws InstantiationException, IllegalAccessException { argument
93 if (rep.isRepositoryFor(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.
157 * Parse the history for the specified file.
159 * @param file the file to parse history for
161 * @return object representing the file's history
163 History parse(File file, Repository repos) throws HistoryException { argument
166 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.
65 * Parse the history for the specified file or directory. If a changeset is
69 * @param file the file or directory to get history for
72 * @return history for the specified file or directory
75 History parse(File file, String changeset) throws HistoryException { argument
76 isDir = file
[all...]
H A DHistory.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 * Class representing the history of a file.
56 * Set the list of log entries for the file. The first entry is the most
89 * Check if at least one history entry has a file list.
92 * file list, {@code false} otherwise
119 public boolean isRenamed(String file) { argument
120 return renamedFiles.contains(file);
[all...]
H A DHistoryCache.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.
49 * Retrieve the history for the given file, either from the cache or by
52 * @param file The file to retrieve history for
58 * the implementation is allowed to skip the file list, but it doesn't
62 History get(File file, Repository repository, boolean withFiles) argument
114 * @return a map from file name
[all...]
H A DRepoRepository.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.
80 boolean isRepositoryFor(File file) { argument
81 if (file.isDirectory()) {
82 File f = new File(file, ".repo");
94 boolean fileHasHistory(File file) { argument
104 History getHistory(File file) { argument
114 boolean fileHasAnnotation(File file) { argument
119 annotate(File file, String revision) argument
[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.
44 * Virtualise RCS file as a reader, getting a specified version
74 History parse(File file, Repository repos) throws HistoryException { argument
76 return parseFile(file);
82 private History parseFile(File file) throws IOException { argument
84 Archive archive = new Archive(getRCSFile(file).getPath());
97 "Could not parse file "
124 getRCSFile(File file) argument
160 readFirstLine(File file) argument
[all...]
H A DRCSRepository.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.
55 boolean fileHasHistory(File file) { argument
56 return getRCSFile(file) != null;
62 File file = new File(parent, basename);
63 File rcsFile = getRCSFile(file);
73 boolean fileHasAnnotation(File file) { argument
74 return fileHasHistory(file);
78 annotate(File file, String revision) argument
83 annotate(File file, String revision, File rcsFile) argument
128 isRepositoryFor(File file) argument
141 getRCSFile(File file) argument
154 getHistory(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.
58 History parse(File file, Repository repos) throws HistoryException { argument
60 return parseFile(file, repos);
66 private History parseFile(File file, Repository repos) argument
70 File mappedFile = repository.getRazorHistoryFileFor(file);
71 parseDebug("Mapping " + file.getPath() + " to '" + mappedFile.getPath() + "'");
/opengrok/src/org/opensolaris/opengrok/index/
H A DIgnoredFiles.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.
28 * This class maintains a list of file names (like "cscope.out"), SRC_ROOT
29 * relative file paths (like "usr/src/uts" or "usr/src/Makefile"), and glob
70 * Should the file be ignored or not?
71 * @param file the file to check
72 * @return true if this file shoul
74 ignore(File file) argument
[all...]
H A DIgnoredDirs.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.
29 * relative file paths (like "usr/src/uts"), and glob
56 * Should the file be ignored or not?
57 * @param file the file to check
58 * @return true if this file should be ignored, false otherwise
60 public boolean ignore(File file) { argument
[all...]
H A DIgnoredNames.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.
70 * Should the file be ignored or not?
72 * @param file the file to check
73 * @return true if this file should be ignored, false otherwise
75 public boolean ignore(File file) { argument
76 if (file
[all...]
/opengrok/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
57 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
58 Consts.class.getResourceAsStream(file), "US-ASCII"))) {
/opengrok/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
57 Consts.class.getResourceAsStream(file), "US-ASCII"))) {
/opengrok/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.
31 * for a certain versioned file.
38 /** the directory which contains the given file wrt. to the source root
52 /** the content of the original and new file line-by-line corresponding
54 public String[][] file; field in class:DiffData
/opengrok/egrok/src/org/opensolaris/opengrok/egrok/model/
H A DHitContainer.java34 public void setCorrespondingFile(IFile file) { argument
35 this.correspondingFile = file;
/opengrok/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.
72 private static boolean loadProperties(File file, InputStream in, Properties props) { argument
74 try (InputStream stream = (file == null) ?
75 in : new FileInputStream(file)) {
93 File file = new File("/etc/opengrok/opengrok.properties");
94 if (file.exists()) {
95 success = loadProperties(file, nul
[all...]

Completed in 46 milliseconds

123