Home
last modified time | relevance | path

Searched refs:isRegularFile (Results 1 – 13 of 13) sorted by relevance

/libcore/ojluni/src/test/java/nio/file/attribute/
DBasicFileAttributeViewTest.java55 check(!attrs.isRegularFile(), "is not a regular file"); in checkAttributesOfDirectory()
69 check(attrs.isRegularFile(), "is a regular file"); in checkAttributesOfFile()
103 check(!attrs.isRegularFile(), "is not a regular file"); in checkAttributesOfLink()
/libcore/ojluni/src/main/java/sun/nio/fs/
DAbstractFileSystemProvider.java135 public boolean isRegularFile(Path file) { in isRegularFile() method in AbstractFileSystemProvider
137 return readAttributes(file, BasicFileAttributes.class).isRegularFile(); in isRegularFile()
DUnixFileAttributes.java152 public boolean isRegularFile() { in isRegularFile() method in UnixFileAttributes
290 public boolean isRegularFile() { in isRegularFile() method in UnixFileAttributes.UnixAsBasicFileAttributes
291 return attrs.isRegularFile(); in isRegularFile()
DLinuxDosFileAttributeView.java139 public boolean isRegularFile() { in readAttributes() method
140 return attrs.isRegularFile(); in readAttributes()
DAbstractBasicFileAttributeView.java155 builder.add(IS_REGULAR_FILE_NAME, attrs.isRegularFile()); in addRequestedBasicAttributes()
DUnixFileSystemProvider.java530 public final boolean isRegularFile(Path obj) { in isRegularFile() method in UnixFileSystemProvider
/libcore/ojluni/src/main/java/java/nio/file/attribute/
DBasicFileAttributes.java93 boolean isRegularFile(); in isRegularFile() method
/libcore/luni/src/test/java/libcore/java/nio/file/
DDefaultSecureDirectoryStreamTest.java402 assertFalse(fileAttributeView.readAttributes().isRegularFile()); in test_getFileAttributeView()
429 assertFalse(fileAttributeView.readAttributes().isRegularFile()); in test_getFileAttributeView_Path()
436 assertTrue(fileAttributeView.readAttributes().isRegularFile()); in test_getFileAttributeView_Path()
491 assertTrue(fileAttributeView.readAttributes().isRegularFile()); in test_getFileAttributeView_Path_LinkOptions()
DFiles2Test.java320 assertTrue(Files.isRegularFile(filesSetup.getDataFilePath())); in test_isRegularFile()
322 assertFalse(Files.isRegularFile(filesSetup.getTestPath())); in test_isRegularFile()
327 assertFalse(Files.isRegularFile(dirPath)); in test_isRegularFile()
333 assertFalse(Files.isRegularFile(filesSetup.getTestPath())); in test_isRegularFile()
339 assertTrue(Files.isRegularFile(filesSetup.getTestPath())); in test_isRegularFile()
342 assertFalse(Files.isRegularFile(filesSetup.getTestPath(), LinkOption.NOFOLLOW_LINKS)); in test_isRegularFile()
347 assertFalse(Files.isRegularFile(deviceFilePath)); in test_isRegularFile()
1732 assertTrue(Files.isRegularFile(tmpFilePath)); in test_createTempFile$Path$String$String$FileAttributes()
1741 assertTrue(Files.isRegularFile(tmpFilePath)); in test_createTempFile$Path$String$String$FileAttributes()
1750 assertTrue(Files.isRegularFile(tmpFilePath)); in test_createTempFile$Path$String$String$FileAttributes()
[all …]
DDefaultFileSystemProvider2Test.java320 assertTrue(fileAttributeView.readAttributes().isRegularFile()); in test_getFileAttributeView()
/libcore/ojluni/src/main/java/java/util/logging/
DFileHandler.java469 if (Files.isRegularFile(lockFilePath, LinkOption.NOFOLLOW_LINKS) in openFiles()
/libcore/ojluni/src/main/java/java/nio/file/
DFiles.java2227 public static boolean isRegularFile(Path path, LinkOption... options) {
2229 return readAttributes(path, BasicFileAttributes.class, options).isRegularFile();
/libcore/api/
Dcurrent.txt7389 method public static boolean isRegularFile(java.nio.file.Path, java.nio.file.LinkOption...);
7673 method public boolean isRegularFile();