Class FileUT

java.lang.Object
studio.magemonkey.fusion.util.FileUT

public class FileUT extends Object
  • Constructor Details

    • FileUT

      public FileUT()
  • Method Details

    • copy

      public static void copy(@NotNull @NotNull InputStream inputStream, @NotNull @NotNull File file)
    • mkdir

      public static void mkdir(@NotNull @NotNull File file)
    • create

      public static void create(@NotNull @NotNull File file)
    • getFiles

      @NotNull public static @NotNull List<File> getFiles(@NotNull @NotNull String path)
    • getFolders

      @NotNull public static @NotNull List<File> getFolders(@NotNull @NotNull String path)
    • deleteRecursive

      public static boolean deleteRecursive(@NotNull @NotNull String path)
    • deleteRecursive

      public static boolean deleteRecursive(@NotNull @NotNull File dir)