Searched defs:exists (Results 1 - 25 of 29) sorted by relevance

12

/openjdk7/jdk/src/windows/classes/sun/misc/
H A DFileURLMapper.java70 public boolean exists() { method in class:FileURLMapper
73 return f.exists();
/openjdk7/jdk/src/solaris/classes/sun/misc/
H A DFileURLMapper.java70 * Checks whether the file identified by the URL exists.
72 public boolean exists () { method in class:FileURLMapper
78 return f.exists();
/openjdk7/jdk/src/share/classes/javax/security/auth/kerberos/
H A DKeyTab.java155 * @throws SecurityException if a security manager exists and the read
183 * Checks if the keytab file exists. Implementation of this method
189 * @return true if the keytab file exists; false otherwise.
190 * @throws SecurityException if a security manager exists and the read
193 public boolean exists() { method in class:KeyTab
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/file/
H A DFSInfo.java53 public boolean exists(File file) { method in class:FSInfo
54 return file.exists();
H A DCacheFSInfo.java70 public boolean exists(File file) { method in class:CacheFSInfo
72 return e.exists;
106 e.exists = super.exists(file);
119 boolean exists; field in class:CacheFSInfo.Entry
/openjdk7/jdk/test/java/io/PrintStream/
H A DFailingConstructors.java59 private static void test(boolean exists, File file) throws Throwable { argument
68 check(exists, file);
77 check(exists, file);
87 check(exists, file);
96 check(exists, file);
99 private static void check(boolean exists, File file) { argument
100 if (exists) {
105 if (file.exists()) { fail(file + " should not have been created"); }
/openjdk7/jdk/test/java/io/PrintWriter/
H A DFailingConstructors.java58 private static void test(boolean exists, File file) throws Throwable { argument
67 check(exists, file);
76 check(exists, file);
86 check(exists, file);
95 check(exists, file);
98 private static void check(boolean exists, File file) { argument
99 if (exists) {
104 if (file.exists()) { fail(file + " should not have been created"); }
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/ccache/
H A DMemoryCredentialsCache.java59 public abstract boolean exists(String cache); method in class:MemoryCredentialsCache
H A DFileCredentialsCache.java76 if ((cacheName == null) || !(new File(cacheName)).exists()) {
146 boolean exists(String cache) { method in class:FileCredentialsCache
148 if (file.exists()) {
482 if (!(fCheck.exists())) {
485 // test if the directory exists
/openjdk7/jdk/src/share/classes/sun/tools/java/
H A DClassFile.java93 * Returns true if file exists.
95 public boolean exists() { method in class:ClassFile
96 return file != null ? file.exists() : true;
H A DPackage.java81 * only if its binary file exists. This is somewhat pessimistic.)
90 * Check if the package exists
92 public boolean exists() { method in class:Package
/openjdk7/jdk/test/java/util/Formatter/
H A DFailingConstructors.java57 private static void test(boolean exists, File file) throws Throwable { argument
66 check(exists, file);
75 check(exists, file);
85 check(exists, file);
94 check(exists, file);
97 private static void check(boolean exists, File file) { argument
98 if (exists) {
103 if (file.exists()) { fail(file + " should not have been created"); }
/openjdk7/jdk/test/java/util/Scanner/
H A DFailingConstructors.java56 private static void test(boolean exists, File file) throws Throwable { argument
65 check(exists, file);
74 check(exists, file);
84 check(exists, file);
93 check(exists, file);
96 private static void check(boolean exists, File file) { argument
97 if (exists) {
102 if (file.exists()) { fail(file + " should not have been created"); }
/openjdk7/jdk/test/java/io/pathNames/
H A DGeneralWin32.java61 if (!f.exists()) {
62 if (!d.exists()) {
71 if (!f2.exists()) {
114 if (!df.exists()) {
124 if (df.exists()) return d;
129 private static void checkDrive(int depth, char drive, boolean exists) argument
134 String ans = exists ? df.getAbsolutePath() : d;
155 if (!(new File(s)).exists()) {
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/file/
H A DFileURLConnection.java61 boolean exists = false; field in class:FileURLConnection
86 throw new FileNotFoundException(filename + " exists, but is not accessible");
111 exists = file.exists();
114 if (!initializedHeaders || !exists) {
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/io/
H A DValueUtility.java303 private static boolean exists(String str, String strs[]){ method in class:ValueUtility
314 if (exists(clzRepositoryId, type.supported_interfaces))
/openjdk7/hotspot/src/share/tools/launcher/
H A Dwildcard.c103 exists(const char* filename) function
387 (! exists(filename));
489 $ENV{CLASSPATH} = munge $ENV{CLASSPATH} if exists $ENV{CLASSPATH};
/openjdk7/jdk/src/share/bin/
H A Dwildcard.c104 exists(const char* filename) function
375 (! exists(filename));
489 $ENV{CLASSPATH} = munge $ENV{CLASSPATH} if exists $ENV{CLASSPATH};
/openjdk7/jdk/test/javax/swing/JFileChooser/6698013/
H A Dbug6698013.java171 public boolean exists() { method in class:VirtualFile
/openjdk7/jdk/src/share/classes/sun/awt/shell/
H A DShellFolder.java242 if (!file.exists()) {
367 public boolean exists() { method in class:ShellFolder
370 return (!isFileSystem() || isFileSystemRoot(this) || super.exists()) ;
465 if (file == null || !file.exists()) {
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/
H A DZipPath.java718 if (exists())
778 boolean exists() { method in class:ZipPath
782 return zfs.exists(getResolvedPath());
833 // check if target exists
834 boolean exists;
838 exists = false;
840 exists = true;
843 exists = target.exists();
845 if (exists)
[all...]
/openjdk7/jdk/src/share/classes/sun/security/krb5/
H A DConfig.java691 * use its value, no matter if the file exists or not. Otherwise, we
693 * and return it if the file exists.
885 if (! exists(key, keyVector)) {
901 * Compares the key with the known keys to see if it exists.
903 private boolean exists(String key, Vector v) { method in class:Config
904 boolean exists = false;
907 exists = true;
910 return exists;
1364 return new File(fileName).exists();
/openjdk7/jdk/src/share/classes/java/io/
H A DFile.java607 * if a security manager exists and its <code>{@link
635 * if a security manager exists and its <code>{@link
749 * abstract pathname exists <em>and</em> can be read by the
753 * If a security manager exists and its <code>{@link
778 * If a security manager exists and its <code>{@link
795 * exists.
798 * by this abstract pathname exists; <code>false</code> otherwise
801 * If a security manager exists and its <code>{@link
805 public boolean exists() { method in class:File
827 * abstract pathname exists <e
[all...]
/openjdk7/jdk/src/share/classes/java/nio/file/
H A DFiles.java126 * regular-file} to a size of {@code 0} if it exists.
142 * // always create new file, failing if it already exists
209 * the file already exists or is a symbolic link. When creating a file the
217 * exists, otherwise a new file is created. This option is ignored if the
292 * if a file of that name already exists and the {@link
338 * if a file of that name already exists and the {@link
549 * Creates a new and empty file, failing if the file already exists. The
572 * if a file of that name already exists
617 * that name already exists <i>(optional specific exception)</i>
636 * exists
2323 public static boolean exists(Path path, LinkOption... options) { method in class:Files
[all...]
/openjdk7/hotspot/src/os/windows/vm/
H A DperfMemory_windows.cpp204 // the backing store files. Returns true if the directory exists
314 // open the directory and check if the file for the given vmid exists.
723 warning("file mapping already exists, lasterror = %d\n", GetLastError());
739 BOOL success, exists, isdefault; local
745 success = GetSecurityDescriptorDacl(pSD, &exists, &pACL, &isdefault);
750 if (success && exists && pACL != NULL && !isdefault) {
867 BOOL exists, isdefault; local
870 if (!GetSecurityDescriptorDacl(pSD, &exists, &oldACL, &isdefault)) {
881 // GetSecurityDescriptorDacl may return true value for exists (lpbDaclPresent)
884 exists
[all...]

Completed in 245 milliseconds

12