FileUtil (Apache Tomcat 7.0.108 API Documentation)

org.apache.catalina.util

## Class FileUtil

- java.lang.Object
- - org.apache.catalina.util.FileUtil

-     public class FileUtil
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FileUtil(File f)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getCanonicalPath()`
    `boolean` | `isParentOf(File child)`
    `boolean` | `isParentOf(String childPath)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### FileUtil

          public FileUtil(File f)
                   throws IOException

      Throws:
        `IOException`

  - ### Method Detail

    - #### getCanonicalPath

          public String getCanonicalPath()

    - #### isParentOf

          public boolean isParentOf(File child)
                             throws IOException

      Throws:
        `IOException`

    - #### isParentOf

          public boolean isParentOf(String childPath)

Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.