/** * Quote and join a list of tokens with platform specific rules. * * @param tokens the token to be quoted and joined * @return the string */ @NonNull public static String quoteAndJoinTokens(@NonNull List<String> tokens) { if (System.getProperty("os.name").startsWith("Windows")) return StringHelperWindows.quoteAndJoinTokens(tokens); else return StringHelperPOSIX.quoteAndJoinTokens(tokens); }