public enum Files extends Enum<Files>
A collection of file IO utilities
Modifier and Type | Method and Description |
---|---|
static File |
file(File parent,
String path) |
static List<File> |
filter(File baseDir,
org.osgl.Osgl.F1<String,Boolean> filter) |
static void |
filter(File baseDir,
org.osgl.Osgl.F1<String,Boolean> filter,
org.osgl.Osgl.F1<File,?> visitor) |
static List<File> |
filter(List<File> baseDirs,
org.osgl.Osgl.F1<String,Boolean> filter) |
static void |
filter(List<File> baseDirs,
org.osgl.Osgl.F1<String,Boolean> filter,
org.osgl.Osgl.F1<File,?> visitor) |
static Files |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Files[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static Files[] values()
for (Files c : Files.values()) System.out.println(c);
public static Files valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static void filter(File baseDir, org.osgl.Osgl.F1<String,Boolean> filter, org.osgl.Osgl.F1<File,?> visitor)
public static List<File> filter(List<File> baseDirs, org.osgl.Osgl.F1<String,Boolean> filter)
Copyright © 2014–2018 ActFramework. All rights reserved.