Indicates if this file represents a file on the underlying file system. @return true if this file is a file, false otherwise. @throws SecurityException if a SecurityManager is installed and it denies read access to this file.
()
| 816 | * access to this file. |
| 817 | */ |
| 818 | public boolean isFile() { |
| 819 | if (path.length() == 0) { |
| 820 | return false; |
| 821 | } |
| 822 | // SecurityManager security = System.getSecurityManager(); |
| 823 | // if (security != null) { |
| 824 | // security.checkRead(path); |
| 825 | // } |
| 826 | return isFileImpl(properPath(true)); |
| 827 | } |
| 828 | |
| 829 | private native boolean isFileImpl(byte[] filePath); |
| 830 |
nothing calls this directly
no test coverage detected