test_class.file: sdk/dslink/src/test/java/org/dsa/iot/dslink/util/StringUtilsTest.java
test_class.identifier: StringUtilsTest
test_case.body: @Test
      public void camelCaseToDisplay() {
          assertEquals("Hello World", StringUtils.camelCaseToDisplay("helloWorld"));
          assertEquals("Hello World", StringUtils.camelCaseToDisplay("HelloWorld"));
          assertEquals("Hello WWorld", StringUtils.camelCaseToDisplay("HelloWWorld"));
      }
test_case.class_method_signature: StringUtilsTest.camelCaseToDisplay()
test_case.full_signature: @Test public void camelCaseToDisplay()
test_case.identifier: camelCaseToDisplay
test_case.invocations: assertEquals camelCaseToDisplay assertEquals camelCaseToDisplay assertEquals camelCaseToDisplay
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void camelCaseToDisplay()
focal_class.file: sdk/dslink/src/main/java/org/dsa/iot/dslink/util/StringUtils.java
focal_class.identifier: StringUtils
focal_class.class_method_signature: StringUtils.isReference(String name)
focal_class.full_signature: public static boolean isReference(String name)
focal_class.identifier: isReference
focal_class.modifiers: public static
focal_class.parameters: (String name)
focal_class.return: boolean
focal_class.signature: boolean isReference(String name)
focal_class.class_method_signature: StringUtils.encodeName(String string)
focal_class.full_signature: public static String encodeName(String string)
focal_class.identifier: encodeName
focal_class.modifiers: public static
focal_class.parameters: (String string)
focal_class.return: String
focal_class.signature: String encodeName(String string)
focal_class.class_method_signature: StringUtils.encodeName(String string, char[] encode)
focal_class.full_signature: public static String encodeName(String string, char[] encode)
focal_class.identifier: encodeName
focal_class.modifiers: public static
focal_class.parameters: (String string, char[] encode)
focal_class.return: String
focal_class.signature: String encodeName(String string, char[] encode)
focal_class.class_method_signature: StringUtils.encodeNameOld(String string, char[] encode)
focal_class.full_signature: public static String encodeNameOld(String string, char[] encode)
focal_class.identifier: encodeNameOld
focal_class.modifiers: public static
focal_class.parameters: (String string, char[] encode)
focal_class.return: String
focal_class.signature: String encodeNameOld(String string, char[] encode)
focal_class.class_method_signature: StringUtils.decodeName(String string)
focal_class.full_signature: public static String decodeName(String string)
focal_class.identifier: decodeName
focal_class.modifiers: public static
focal_class.parameters: (String string)
focal_class.return: String
focal_class.signature: String decodeName(String string)
focal_class.class_method_signature: StringUtils.decodeNameOld(String string)
focal_class.full_signature: public static String decodeNameOld(String string)
focal_class.identifier: decodeNameOld
focal_class.modifiers: public static
focal_class.parameters: (String string)
focal_class.return: String
focal_class.signature: String decodeNameOld(String string)
focal_class.class_method_signature: StringUtils.join(Collection<String> strings, String delimiter)
focal_class.full_signature: public static String join(Collection<String> strings, String delimiter)
focal_class.identifier: join
focal_class.modifiers: public static
focal_class.parameters: (Collection<String> strings, String delimiter)
focal_class.return: String
focal_class.signature: String join(Collection<String> strings, String delimiter)
focal_class.class_method_signature: StringUtils.join(Collection<String> strings,
                                boolean encode, String delimiter)
focal_class.full_signature: public static String join(Collection<String> strings,
                                boolean encode, String delimiter)
focal_class.identifier: join
focal_class.modifiers: public static
focal_class.parameters: (Collection<String> strings,
                                boolean encode, String delimiter)
focal_class.return: String
focal_class.signature: String join(Collection<String> strings,
                                boolean encode, String delimiter)
focal_class.class_method_signature: StringUtils.join(String[] strings, String delimiter)
focal_class.full_signature: public static String join(String[] strings, String delimiter)
focal_class.identifier: join
focal_class.modifiers: public static
focal_class.parameters: (String[] strings, String delimiter)
focal_class.return: String
focal_class.signature: String join(String[] strings, String delimiter)
focal_class.class_method_signature: StringUtils.join(String[] strings,
                                boolean encode,
                                String delimiter)
focal_class.full_signature: public static String join(String[] strings,
                                boolean encode,
                                String delimiter)
focal_class.identifier: join
focal_class.modifiers: public static
focal_class.parameters: (String[] strings,
                                boolean encode,
                                String delimiter)
focal_class.return: String
focal_class.signature: String join(String[] strings,
                                boolean encode,
                                String delimiter)
focal_class.class_method_signature: StringUtils.split(String string, boolean decode, String delimiter)
focal_class.full_signature: public static String[] split(String string, boolean decode, String delimiter)
focal_class.identifier: split
focal_class.modifiers: public static
focal_class.parameters: (String string, boolean decode, String delimiter)
focal_class.return: String[]
focal_class.signature: String[] split(String string, boolean decode, String delimiter)
focal_class.class_method_signature: StringUtils.camelCaseToDisplay(String camelCase)
focal_class.full_signature: public static String camelCaseToDisplay(String camelCase)
focal_class.identifier: camelCaseToDisplay
focal_class.modifiers: public static
focal_class.parameters: (String camelCase)
focal_class.return: String
focal_class.signature: String camelCaseToDisplay(String camelCase)
focal_method.body: public static String camelCaseToDisplay(String camelCase) {
          StringBuilder buf = new StringBuilder();
          char ch;
          boolean lastUpper = false;
          for (int i = 0, len = camelCase.length(); i < len; i++) {
              ch = camelCase.charAt(i);
              if (i == 0) {
                  ch = Character.toUpperCase(ch);
                  lastUpper = true;
              } else if (Character.isUpperCase(ch)) {
                  if (!lastUpper) {
                      lastUpper = true;
                      buf.append(' ');
                  }
              } else {
                  lastUpper = false;
              }
              buf.append(ch);
          }
          return buf.toString();
      }
focal_method.class_method_signature: StringUtils.camelCaseToDisplay(String camelCase)
focal_method.full_signature: public static String camelCaseToDisplay(String camelCase)
focal_method.identifier: camelCaseToDisplay
focal_method.invocations: length charAt toUpperCase isUpperCase append append toString
focal_method.modifiers: public static
focal_method.parameters: (String camelCase)
focal_method.return: String
focal_method.signature: String camelCaseToDisplay(String camelCase)