Class FileKit

java.lang.Object
com.iohao.net.common.kit.FileKit

public final class FileKit extends Object
File I/O utilities.
Author:
渔民小镇
date:
2022-12-23
  • Method Details

    • writeUtf8String

      public static void writeUtf8String(String content, String filePath)
      Write a UTF-8 string to the specified file path, creating parent directories and the file itself if they do not exist.
      Parameters:
      content - the text content to write
      filePath - the target file path