/openjdk7/jdk/test/java/net/ResponseCache/ |
H A D | ResponseCacheTest.java | 46 static List<File> files = new ArrayList<>(); field in class:ResponseCacheTest 155 files.add(file1); 156 files.add(file2); 174 for (File f: files) { 228 files.add(file);
|
/openjdk7/jdk/src/share/classes/sun/tools/jar/ |
H A D | Manifest.java | 77 * for the files. 99 public Manifest(String[] files) throws IOException { argument 105 addFiles(null, files); 129 public void addFiles(File dir, String[] files) throws IOException { argument 130 if (files == null) 132 for (int i = 0; i < files.length; i++) { 135 file = new File(files[i]); 137 file = new File(dir, files[i]);
|
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | JarIndex.java | 35 * and resources to their enclosing JAR files. Mappings are kept 36 * at the package level except for class or resource files that 71 * If true, the names of the files in META-INF, and its subdirectories, will 96 * Constructs a new index for the specified list of jar files. 98 * @param files the list of jar files to construct the index from. 100 public JarIndex(String[] files) throws IOException { argument 102 this.jarFiles = files; 103 parseJars(files); 143 * Returns the jar files tha 226 parseJars(String[] files) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/file/ |
H A D | FileURLConnection.java | 62 List<String> files; field in class:FileURLConnection 87 files = Arrays.<String>asList(fileList); 196 if (files == null) { 200 Collections.sort(files, Collator.getInstance()); 202 for (int i = 0 ; i < files.size() ; i++) { 203 String fileName = files.get(i);
|
/openjdk7/langtools/test/tools/javac/diags/ |
H A D | ArgTypeCompilerFactory.java | 94 boolean run(PrintWriter out, Set<String> keys, boolean raw, List<String> opts, List<File> files) { argument 98 System.err.println("run_jsr199: " + opts + " " + files); 106 Iterable<? extends JavaFileObject> fos = fm.getJavaFileObjectsFromFiles(files); 127 boolean run(PrintWriter out, Set<String> keys, boolean raw, List<String> opts, List<File> files) { argument 131 System.err.println("run_simple: " + opts + " " + files); 136 for (File f: files) 161 boolean run(PrintWriter out, Set<String> keys, boolean raw, List<String> opts, List<File> files) { argument 165 System.err.println("run_simple: " + opts + " " + files); 168 for (File f: files)
|
H A D | Example.java | 52 /* Create an Example from the files found at path. 74 private void findFiles(File f, List<File> files) { argument 77 if (files == srcFiles && c.getName().equals("processors")) 79 else if (files == srcFiles && c.getName().equals("sourcepath")) { 82 } else if (files == srcFiles && c.getName().equals("support")) 85 findFiles(c, files); 88 files.add(f); 127 throw new Error("multiple info files found: " + infoFile + ", " + file); 337 List<String> opts, List<File> files); 370 boolean run(PrintWriter out, Set<String> keys, boolean raw, List<String> opts, List<File> files) { argument 336 run(PrintWriter out, Set<String> keys, boolean raw, List<String> opts, List<File> files) argument 441 run(PrintWriter out, Set<String> keys, boolean raw, List<String> opts, List<File> files) argument 491 run(PrintWriter out, Set<String> keys, boolean raw, List<String> opts, List<File> files) argument [all...] |
H A D | FileManager.java | 45 * selected files that match a regular expression. 81 public Iterable<? extends JavaFileObject> getJavaFileObjectsFromFiles(Iterable<? extends File> files) { argument 82 return wrap2(fileManager.getJavaFileObjectsFromFiles(files)); 85 public Iterable<? extends JavaFileObject> getJavaFileObjects(File... files) { argument 86 return wrap2(fileManager.getJavaFileObjects(files));
|
H A D | RunExamples.java | 49 * -showFiles include text of source files in the output 241 void showFiles(Example e, Collection<File> files) throws IOException { argument 242 for (File f: files) 320 // only show Output: header if also showing files 560 // only show Output: header if also showing files
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicDirectoryModel.java | 49 private Vector<File> files = null; field in class:BasicDirectoryModel 107 if (files != null) { 108 return files; 110 files = new Vector<File>(); 121 files.add(f); 124 return files; 248 // run through the file list, add directories and selectable files to fileCache 484 files = null;
|
/openjdk7/jdk/src/share/classes/java/util/logging/ |
H A D | FileHandler.java | 37 * or it can write to a rotating set of files. 39 * For a rotating set of files, as each file reaches a given size 41 * Successively older files are named by adding "0", "1", "2", 71 * specifies how many output files to cycle through (defaults to 1). 77 * any existing files (defaults to false). 96 * would typically cause log files to be written on Solaris to 128 private File files[]; field in class:FileHandler 217 * @exception IOException if there are IO problems opening the files. 240 * @exception IOException if there are IO problems opening the files. 272 * @exception IOException if there are IO problems opening the files [all...] |
/openjdk7/hotspot/src/share/tools/launcher/ |
H A D | wildcard.c | 29 * foo/"*", e.g., loads all jar files in the directory named foo. 32 * Only files whose names end in .jar or .JAR are matched. 40 * A wildcard only matches jar files, not class files in the same 41 * directory. If you want to load both class files and jar files from 43 * if you want the jar files to take precedence. 46 * looks for jar files in foo, not in foo/bar, foo/baz, etc. 52 * generated by enumerating the jar files in the named directory. If 58 * The order in which the jar files i 224 char **files; member in struct:FileList_ [all...] |
/openjdk7/jdk/src/share/bin/ |
H A D | wildcard.c | 30 * foo/"*", e.g., loads all jar files in the directory named foo. 33 * Only files whose names end in .jar or .JAR are matched. 41 * A wildcard only matches jar files, not class files in the same 42 * directory. If you want to load both class files and jar files from 44 * if you want the jar files to take precedence. 47 * looks for jar files in foo, not in foo/bar, foo/baz, etc. 53 * generated by enumerating the jar files in the named directory. If 59 * The order in which the jar files i 224 char **files; member in struct:FileList_ [all...] |
/openjdk7/langtools/make/tools/GenStubs/ |
H A D | GenStubs.java | 63 * Generate stub source files by removing implementation details from input files. 66 * stub files for JDK 7 API that are needed to compile langtools files that depend 71 * files that depend on the JDK 7 API. 86 * fileset, using srcdir as a base directory. The set of files to be included 88 * unlike a normal fileset, an empty includes attribute means "no files" instead 89 * of "all files". The Ant task also accepts "fork=true" and classpath attribute 92 * JDK 7 input files. 148 List<JavaFileObject> files 437 filter(File srcDir, File destDir, String[] files) argument [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/file/ |
H A D | Paths.java | 274 File[] files = dir.listFiles(); 275 if (files == null) 278 for (File direntry : files) { 284 public Path addFiles(String files, boolean warn) { argument 285 if (files != null) { 286 for (File file : getPathEntries(files, emptyPathDefault)) 292 public Path addFiles(String files) { argument 293 return addFiles(files, warn); 386 String files = System.getProperty("sun.boot.class.path"); 387 path.addFiles(files, fals [all...] |
H A D | JavacFileManager.java | 69 * This class provides access to the source, class and other files 102 * If classOutDir = null, files are written into same directory as the sources 202 ListBuffer<File> files = new ListBuffer<File>(); 204 files.append(new File(nullCheck(name))); 205 return getJavaFileObjectsFromFiles(files.toList()); 274 * Insert all files in subdirectory subdirectory of directory directory 286 File[] files = d.listFiles(); 287 if (files == null) 291 Arrays.sort(files, sortFiles); 293 for (File f: files) { 796 getJavaFileObjectsFromFiles( Iterable<? extends File> files) argument 809 getJavaFileObjects(File... files) argument [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javadoc/ |
H A D | JavadocTool.java | 57 * files. 175 // Enter symbols for all files 202 * .java files found in such a directory to args. 205 Iterable<JavaFileObject> files, 216 if (files == null) { 228 files = lb.toList(); 231 for (JavaFileObject fo : files) { 204 parsePackageClasses(String name, Iterable<JavaFileObject> files, ListBuffer<JCCompilationUnit> trees, List<String> excludedPackages) argument
|
/openjdk7/jdk/test/java/util/zip/ |
H A D | zip.java | 41 String[] files; field in class:zip 101 expand(null, files, false); 120 expand(null, files, true); 136 replaceFSC(files); 138 list(fname, files); 142 list(new BufferedInputStream(in), files); 148 replaceFSC(files); 149 if (fname != null && files != null) { 150 extract(fname, files); 156 extract(new BufferedInputStream(in), files); 290 expand(File dir, String[] files, boolean isUpdate) argument 474 replaceFSC(String files[]) argument 499 extract(InputStream in, String files[]) argument 519 extract(String fname, String files[]) argument 600 list(InputStream in, String files[]) argument 609 list(String fname, String files[]) argument 618 printEntry(ZipEntry e, String[] files) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/rmi/rmic/ |
H A D | BatchEnvironment.java | 54 * files so that they can be deleted later. 90 * JAR files, and construct the ClassPath object-- but as part 92 * manifest entries in JAR files, those steps are now handled 106 * Class-Path manifest entries are supported for JAR files 162 /** list of generated source files created in this environment */ 174 * Delete all the generated source files made during the execution 225 * Utility for building paths of directories and JAR files. This 228 * entries in JAR files. Diagnostic code is simply commented out 362 public Path addFiles(String files, boolean warn) { argument 363 if (files ! 369 addFiles(String files) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/rmi/rmic/newrmic/ |
H A D | Main.java | 67 * which uses javadoc and the doclet API for reading class files and 68 * javac for compiling generated source files. This implementation is 81 * In order to use the doclet API to read class files, much of 507 * Compile any generated source files, if configured to do so. 516 * Delete any generated source files, if configured to do so. 556 // inputs are class names, not source files 606 * Runs the javac tool to compile the specified source files, 614 private boolean invokeJavac(Batch batch, List<File> files) { argument 641 * For now, rmic still always produces class files that have a 649 // add source files t [all...] |
/openjdk7/langtools/test/tools/javac/processing/ |
H A D | T6920317.java | 50 // Used to describe properties of files to be put on command line, source path, class path 56 /** Only applies to files on classpath/sourcepath, when there is another file on the 59 /** Only applies to files on classpath/sourcepath, when there is no file in any other 73 // Run tests for all combinations of files on command line, source path and class path. 94 /** One time setup for files and directories to be used in the various test cases. */ 151 // build up list of options and files to be compiled 153 List<File> files = new ArrayList<File>(); 168 files.add(test_java); 171 * Analyze each of cl, cp, sp, building up the options and files to 177 files 311 compile(List<String> opts, List<File> files) argument [all...] |
/openjdk7/langtools/test/tools/javac/processing/model/util/elements/doccomments/ |
H A D | TestDocComments.java | 41 * For a mixture of pre-existing and generated source files, ensure that we can 87 File[] files = { 92 test_javac_api(opts, files); 94 test_javac_cmd(opts, files); 97 static void test_javac_api(String[] opts, File[] files) throws IOException { argument 98 System.err.println("test javac api: " + Arrays.asList(opts) + " " + Arrays.asList(files)); 106 Iterable<? extends JavaFileObject> units = fm.getJavaFileObjects(files); 112 static void test_javac_cmd(String[] opts, File[] files) { argument 113 System.err.println("test javac cmd: " + Arrays.asList(opts) + " " + Arrays.asList(files)); 117 for (File f: files) [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/shell/ |
H A D | ShellFolder.java | 125 File[] files = super.listFiles(); 129 int nameCount = (files == null) ? 0 : files.length; 131 if (!files[i].isHidden()) { 132 v.addElement(files[i]); 135 files = (File[])v.toArray(new File[v.size()]); 138 return files; 273 * Canonicalizes files that don't have symbolic links in their path. 274 * Normalizes files that do, preserving symbolic links from being resolved. 289 public static void sort(final List<? extends File> files) { argument 334 sortChildren(final List<? extends File> files) argument [all...] |
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaFileSystemModel.java | 45 private Vector<File> files = null; field in class:AquaFileSystemModel 103 files = null; 121 if (files != null) { return files; } 122 files = new Vector<File>(); 133 files.addElement(f); 138 return files; 390 // Return all files to the file chooser. The UI will disable or enable 398 // Don't separate directories from files 439 public DoChangeContents(final Vector<SortableFile> files, fina argument [all...] |
/openjdk7/jdk/src/share/classes/sun/swing/plaf/synth/ |
H A D | SynthFileChooserUI.java | 351 File[] files = getModel().getFiles().toArray(new File[0]); 352 String str = getCommonStartString(files); 361 private String getCommonStartString(File[] files) { argument 365 if (files.length == 0) { 369 for (int f = 0; f < files.length; f++) { 370 String name = files[f].getName();
|
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/ |
H A D | MotifFileChooserUI.java | 123 private String fileNameString(File[] files) { argument 125 for (int i = 0; files != null && i < files.length; i++) { 129 if (files.length > 1) { 132 buf.append(fileNameString(files[i])); 133 if (files.length > 1) { 184 File[] files = (File[]) e.getNewValue(); 186 if (files != null && files.length > 0 && (files [all...] |