public class Utils extends Object
| Modifier and Type | Field and Description |
|---|---|
private static boolean |
isWindows |
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
containsIgnoreCase(List<String> list,
String str) |
static String |
executeCommandAndGetOutput(String cmd,
File cwd) |
static String |
getId(Object obj) |
static Collection<String> |
intersectIgnoreCase(List<String> list1,
List<String> list2) |
public static String executeCommandAndGetOutput(String cmd, File cwd) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic static Collection<String> intersectIgnoreCase(List<String> list1, List<String> list2)
Copyright © 2021. All rights reserved.