com.profesorfalken.wmi4java.WMI4JavaUtil Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of WMI4Java Show documentation
Show all versions of WMI4Java Show documentation
API to query WMI from Java
The newest version!
package com.profesorfalken.wmi4java;
public final class WMI4JavaUtil {
public static String join(String delimiter, Iterable> parts) {
StringBuilder joinedString = new StringBuilder();
for (final Object part : parts) {
joinedString.append(part);
joinedString.append(delimiter);
}
joinedString.delete(joinedString.length() - delimiter.length(), joinedString.length());
return joinedString.toString();
}
}