All Methods Static Methods Concrete Methods
Modifier and Type |
Method and Description |
static Runnable |
asUncheckedRunnable(Closeable c) |
static void |
deleteRecursive(Path path) |
static InputStream |
getResourceAsStream(String resource) |
static InputStream |
getResourceAsStream(String resource,
ClassLoader classLoader) |
static Path |
getResourcePath(String resource) |
static Path |
getResourcePath(String resource,
ClassLoader classLoader) |
static boolean |
isEmpty(String s) |
static boolean |
isURL(String path) |
static boolean |
isYaml(String path) |
static java.util.stream.Stream<String> |
lines(InputStream inputStream) |
static java.util.stream.Stream<String> |
lines(InputStream inputStream,
Charset charset) |
static File[] |
listFiles(File dir)
|
static File[] |
listFiles(File dir,
FileFilter filter) |
static File[] |
listFiles(File dir,
FilenameFilter filter) |
static Properties |
loadProperties(InputStream stream) |
static Properties |
loadProperties(InputStream stream,
String name) |
static Properties |
loadProperties(Path path) |
static File |
locate(File baseDir,
String fileName) |
static File |
locate(String baseDir,
String fileName) |
static Long |
parseStringAsBytes(String property) |
static String |
path(String base,
String... tokens) |
static String |
quoteIfContainsSpace(String s) |
static String |
readAsString(InputStream is) |
static String |
readAsString(Path path) |
static Map<String,String> |
readMapStringString(ObjectInput in) |
static Properties |
readProperties(ObjectInput in) |
static String |
readString(ObjectInput in) |
static String[] |
readStringArray(ObjectInput in) |
static boolean |
tryWaitFor(java.util.function.BooleanSupplier predicate,
long timeout,
long pollInterval) |
static boolean |
waitFor(java.util.function.BooleanSupplier predicate,
long timeout,
long pollInterval) |
static String |
wrapIpv6HostAddressIfNeeded(InetAddress hostAddress) |
static void |
writeMapStringString(ObjectOutput out,
Map<String,String> map) |
static void |
writeProperties(ObjectOutput out,
Properties properties) |
static void |
writeString(ObjectOutput out,
String s) |
static void |
writeStringArray(ObjectOutput out,
String[] array) |