Class HFile
- java.lang.Object
-
- com.g2forge.alexandria.java.io.file.HFile
-
public final class HFile extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
copy(Path source, Path target, CopyOption... options)
static void
delete(Path path, boolean onexit)
static void
gc()
static void
gc(int repeat, int pause)
static <T> boolean
optionEnabled(T option, T[] options)
static <T> T[]
optionFilter(T[] options, IPredicate1<? super T> predicate)
static List<Path>
toList(DirectoryStream<Path> stream)
-
-
-
Method Detail
-
optionEnabled
public static <T> boolean optionEnabled(T option, T[] options)
-
optionFilter
public static <T> T[] optionFilter(T[] options, IPredicate1<? super T> predicate)
-
copy
public static void copy(Path source, Path target, CopyOption... options)
-
delete
public static void delete(Path path, boolean onexit)
-
gc
public static void gc()
-
gc
public static void gc(int repeat, int pause)
-
toList
public static List<Path> toList(DirectoryStream<Path> stream)
-
-