MCPcopy Create free account
hub / github.com/davidgiven/luje / getCanonicalFile

Method getCanonicalFile

lib/java/io/File.java:673–675  ·  view source on GitHub ↗

Returns a new file created using the canonical path of this file. Equivalent to new File(this.getCanonicalPath()). @return the new file constructed from this file's canonical path. @throws IOException if an I/O error occurs. @see java.lang.SecurityManager#checkPropertyAccess

()

Source from the content-addressed store, hash-verified

671 * @see java.lang.SecurityManager#checkPropertyAccess
672 */
673 public File getCanonicalFile() throws IOException {
674 return new File(getCanonicalPath());
675 }
676
677 private native byte[] getCanonImpl(byte[] filePath);
678

Callers

nothing calls this directly

Calls 1

getCanonicalPathMethod · 0.95

Tested by

no test coverage detected