クラス FileUtils

java.lang.ObjectSE
org.springframework.integration.file.support.FileUtils

public final class FileUtils extends ObjectSE
ファイルの操作のためのユーティリティ。
導入:
5.0
作成者:
Gary Russell, Artem Bilan
  • フィールドの詳細

    • IS_POSIX

      public static final boolean IS_POSIX
  • メソッドの詳細

    • purgeUnwantedElements

      public static <F> F[] purgeUnwantedElements(F[] fileArray, PredicateSE<? extends F> predicate, @Nullable ComparatorSE<? extends F> comparator)
      述語が要素に対して true を返す場合は、配列からエントリを削除します。
      型パラメーター:
      F - ファイル型。
      パラメーター:
      fileArray - 配列。
      predicate - 述語。
      comparator - 結果をソートするためのオプションのコンパレータ。
      戻り値:
      残りの要素の配列。
      導入:
      5.0.7