Searched defs:file (Results 101 - 125 of 497) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/java/nio/file/
H A DFileTreeWalker.java8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
26 package java.nio.file;
28 import java.nio.file.attribute.*;
34 * Simple file tree walker that works in a similar manner to nftw(3C).
66 * Walk file tree starting at the given file
76 * @param file
83 private FileVisitResult walk(Path file, argument
241 Path file() { method in class:FileTreeWalker.AncestorDirectory
[all...]
H A DCopyMoveHelper.java8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
26 package java.nio.file;
28 import java.nio.file.attribute.*;
41 * Parses the arguments for a file copy operation.
75 * Converts the given array of options for moving a file to options suitable
76 * for copying the file when a move is implemented as copy + delete.
108 // attributes of source file
121 // create directory or copy file
[all...]
H A DFileStore.java8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
26 package java.nio.file;
28 import java.nio.file.attribute.*;
33 * partition, volume, concrete file system or other implementation specific means
34 * of file storage. The {@code FileStore} for where a file is stored is obtained
35 * by invoking the {@link Files#getFileStore getFileStore} method, or all file
39 * <p> In addition to the methods defined by this class, a file stor
[all...]
H A DFileSystems.java8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
26 package java.nio.file;
28 import java.nio.file.spi.FileSystemProvider;
37 * Factory methods for file systems. This class defines the {@link #getDefault
38 * getDefault} method to get the default file system and factory methods to
39 * construct other types of file systems.
43 * provider, identified by the URI scheme "file", creates the {@link FileSystem}
44 * that provides access to the file system
[all...]
/openjdk7/jdk/src/windows/classes/sun/net/www/protocol/file/
H A DHandler.java8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
26 package sun.net.www.protocol.file;
40 * Open an file input stream given a URL.
55 * Ugly backwards compatibility. Flip any file separator
57 * and "fixes" win32 file paths. According to RFC 2396,
60 * performed this "fixup" behavior in the file URL parsing code
79 String file = url.getFile();
82 path = ParseUtil.decode(file);
129 createFileURLConnection(URL url, File file) argument
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/file/
H A DCacheFSInfo.java8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
26 package com.sun.tools.javac.file;
64 public File getCanonicalFile(File file) { argument
65 Entry e = getEntry(file);
70 public boolean exists(File file) { argument
71 Entry e = getEntry(file);
76 public boolean isDirectory(File file) { argument
77 Entry e = getEntry(file);
82 isFile(File file) argument
88 getJarClassPath(File file) argument
98 getEntry(File file) argument
[all...]
H A DSymbolArchive.java8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
26 package com.sun.tools.javac.file;
34 import com.sun.tools.javac.file.RelativePath.RelativeDirectory;
35 import com.sun.tools.javac.file.RelativePath.RelativeFile;
77 public JavaFileObject getFileObject(RelativeDirectory subdirectory, String file) { argument
79 ZipEntry ze = new RelativeFile(prefix_subdir, file).getZipEntry(zfile);
80 return new SymbolFileObject(this, file, ze);
89 * A subclass of JavaFileObject representing zip entries in a symbol file
[all...]
H A DZipFileIndexCache.java8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
26 package com.sun.tools.javac.file;
28 import com.sun.tools.javac.file.RelativePath.RelativeDirectory;
130 public synchronized void removeFromCache(File file) { argument
131 map.remove(file);
/openjdk7/jdk/src/solaris/classes/sun/net/www/protocol/file/
H A DHandler.java8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
26 package sun.net.www.protocol.file;
40 * Open an file input stream given a URL.
55 * Ugly backwards compatibility. Flip any file separator
57 * and "fixes" win32 file paths. According to RFC 2396,
60 * performed this "fixup" behavior in the file URL parsing code
80 File file = new File(ParseUtil.decode(u.getPath()));
81 return createFileURLConnection(u, file);
110 createFileURLConnection(URL u, File file) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/classfile/
H A DAttributeReader.java73 As the class file parser parses attributes, it will call various
84 @param file This is the data input stream that the factory needs to read
92 returned which will cause the parsing of the class file to fail.
98 java.io.DataInputStream file,
96 createAttribute(int name_index, int length, java.io.DataInputStream file, ConstantPool constant_pool) argument
H A DConstantFieldref.java78 * Initialize instance from file data.
80 * @param file input stream
83 ConstantFieldref(DataInputStream file) throws IOException argument
85 super(Constants.CONSTANT_Fieldref, file);
H A DConstantInterfaceMethodref.java78 * Initialize instance from file data.
80 * @param file input stream
83 ConstantInterfaceMethodref(DataInputStream file) throws IOException argument
85 super(Constants.CONSTANT_InterfaceMethodref, file);
H A DConstantMethodref.java78 * Initialize instance from file data.
80 * @param file input stream
83 ConstantMethodref(DataInputStream file) throws IOException argument
85 super(Constants.CONSTANT_Methodref, file);
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/functions/
H A DFuncSystemProperty.java9 * you may not use this file except in compliance with the License.
45 * The path/filename of the property file: XSLTInfo.properties
162 * Retrieve a propery bundle from a specified file
164 * @param file The string name of the property file. The name
166 * @param target The target property bag the file will be placed into.
168 public void loadPropertyFile(String file, Properties target) argument
172 // Use SecuritySupport class to provide priveleged access to property file
174 file);
/openjdk7/jaxp/src/javax/xml/datatype/
H A DSecuritySupport.java8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
65 FileInputStream getFileInputStream(final File file) argument
72 return new FileInputStream(file);
/openjdk7/jaxp/src/javax/xml/parsers/
H A DSecuritySupport.java8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
69 FileInputStream getFileInputStream(final File file) argument
76 return new FileInputStream(file);
/openjdk7/jaxp/src/javax/xml/stream/
H A DSecuritySupport.java8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
69 FileInputStream getFileInputStream(final File file) argument
76 return new FileInputStream(file);
/openjdk7/jaxp/src/javax/xml/transform/
H A DSecuritySupport.java8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
67 FileInputStream getFileInputStream(final File file) argument
74 return new FileInputStream(file);
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/resolver/
H A DFileResolverImpl.java8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
47 private File file ; field in class:FileResolverImpl
51 public FileResolverImpl( ORB orb, File file )
54 this.file = file ;
84 * Checks the lastModified() timestamp of the file and optionally
85 * re-reads the Properties object from the file if newer.
89 if (file
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/bugspot/
H A DPackageScanner.java12 * version 2 for more details (a copy is included in the LICENSE file that
29 /** Scans a .java file for the package that it is in. */
41 this .java file. Returns the (non-null) empty string if any
43 public String scan(File file) { argument
47 buf = new BufferedReader(new FileReader(file));
85 System.err.println("Usage: java PackageScanner <.java file name>");
86 System.err.println("Prints package the .java file is in to stdout.");
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/
H A DRandomAccessFileDataSource.java12 * version 2 for more details (a copy is included in the LICENSE file that
31 public RandomAccessFileDataSource(RandomAccessFile file) { argument
32 this.file = file;
35 public byte readByte() throws IOException { return file.readByte(); }
36 public short readShort() throws IOException { return file.readShort(); }
37 public int readInt() throws IOException { return file.readInt(); }
38 public long readLong() throws IOException { return file.readLong(); }
39 public int read(byte[] b) throws IOException { return file.read(b); }
40 public void seek(long pos) throws IOException { file
44 private RandomAccessFile file; field in class:RandomAccessFileDataSource
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/win32/coff/
H A DTestDebugInfo.java12 * version 2 for more details (a copy is included in the LICENSE file that
30 System.err.println("usage: java TestParser [file name]");
36 COFFFile file = COFFFileParser.getParser().parse(args[0]);
37 if (file.isImage()) {
40 System.out.println("PE Image NOT detected, assuming object file.");
43 DebugVC50 vc50 = getDebugVC50(file);
85 private static DebugVC50 getDebugVC50(COFFFile file) { argument
86 COFFHeader header = file.getHeader();
/openjdk7/jdk/src/share/classes/javax/security/auth/kerberos/
H A DKeyTab.java8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
36 * This class encapsulates a keytab file.
39 * keytab file should use this class. The login module will store
52 * The keytab file format is described at
68 * contains the content of the keytab file when the snapshot is taken.
75 private final File file; field in class:KeyTab
83 private KeyTab(File file) { argument
84 this.file
96 getInstance(File file) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/shell/
H A DShellFolderManager.java8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
39 * Create a shell folder from a file.
42 public ShellFolder createShellFolder(File file) throws FileNotFoundException { argument
43 return new DefaultShellFolder(null, file);
54 * show by default in the file chooser's combobox
80 // show by default in the file chooser's combobox
/openjdk7/jdk/src/share/classes/java/awt/peer/
H A DDesktopPeer.java8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
36 * of open, edit, print, browse and mail with the given URL or file, by
54 * Launches the associated application to open the given file. The
55 * associated application is registered to be the default file viewer for
56 * the file type of the given file.
58 * @param file the given file
62 open(File file) argument
73 edit(File file) argument
83 print(File file) argument
[all...]

Completed in 54 milliseconds

1234567891011>>