com.aventstack.extentreports.utils

## Class FileUtil

- java.lang.Object
- - com.aventstack.extentreports.utils.FileUtil

-     public class FileUtil
      extends Object

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `createDirectory(String path)`
    `static void` | `createDirectory(String[] path)`
    `static Boolean` | `fileExists(String path)`
    `static String` | `getExtension(File f)`
    `static String` | `getExtension(String filePath)`
    `static String` | `getFileNameWithoutExtension(File f)`
    `static String` | `getFileNameWithoutExtension(String filePath)`
    `static Boolean` | `isDirectory(File file)`
    `static Boolean` | `isDirectory(String filePath)`

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

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

- - ### Method Detail

    - #### getFileNameWithoutExtension

          public static String getFileNameWithoutExtension(File f)

    - #### getFileNameWithoutExtension

          public static String getFileNameWithoutExtension(String filePath)

    - #### getExtension

          public static String getExtension(File f)

    - #### getExtension

          public static String getExtension(String filePath)

    - #### isDirectory

          public static Boolean isDirectory(String filePath)

    - #### isDirectory

          public static Boolean isDirectory(File file)

    - #### createDirectory

          public static void createDirectory(String path)

    - #### createDirectory

          public static void createDirectory(String[] path)

    - #### fileExists

          public static Boolean fileExists(String path)

Copyright © 2018. All rights reserved.