Class StringUtil
java.lang.Object
com.swiftmq.impl.mqtt.v311.netty.util.internal.StringUtil
String utility class.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
simpleClassName
(Class<?> clazz) Generates a simplified name from aClass
.static String
The shortcut tosimpleClassName(o.getClass())
.
-
Field Details
-
UTF8
-
-
Constructor Details
-
StringUtil
public StringUtil()
-
-
Method Details
-
simpleClassName
The shortcut tosimpleClassName(o.getClass())
. -
simpleClassName
Generates a simplified name from aClass
. Similar toClass.getSimpleName()
, but it works fine with anonymous classes.
-