@Test public void testGetAnyKey() { assertEquals(getAnyKey("strong:H1"), "1"); assertEquals(getAnyKey("strong:H123"), "123"); assertEquals(getAnyKey("strong:G1"), "1"); assertEquals(getAnyKey("strong:G123"), "123"); assertEquals(getAnyKey("G123"), "123"); assertEquals(getAnyKey("H123"), "123"); assertEquals(getAnyKey("123"), "123"); assertEquals(getAnyKey("strong:G00123"), "123"); }
public static String getAnyKey(final String potentialKey) { return getAnyKey(potentialKey, true); }
StringConversionUtils { public static String getAnyKey(final String potentialKey) { return getAnyKey(potentialKey, true); } }
StringConversionUtils { public static String getAnyKey(final String potentialKey) { return getAnyKey(potentialKey, true); } private  StringConversionUtils(); }
StringConversionUtils { public static String getAnyKey(final String potentialKey) { return getAnyKey(potentialKey, true); } private  StringConversionUtils(); boolean isDisplayableStrongNumber(final String strongNumber); static String getStrongKey(final String strong); static String getAnyKey(final String potentialKey); static String getStrongLanguageSpecificKey(final String key); static String getStrongPaddedKey(final String key); static String padPrefixedStrongNumber(final String strongNumber); static String getAnyKey(final String potentialKey, final boolean trimInitial); static String unAccent(final String word); static String unAccent(final String word, final boolean isGreek); static String unAccent(final String word, final boolean isGreek, boolean unpointHebrewVowels); static String unAccentLeavingVowels(final String word); static String unAccentHebrewLeavingVowels(final String word); static String adaptForTransliterationForIndexing(final String stepTransliteration,
                                                            final boolean isGreek); static List<TransliterationOption> adaptTransliterationForQuerying(
            final String stepTransliteration, final boolean isGreek); static List<TransliterationOption> multiplyTranslitOptions(final String baseString,
                                                                      final List<TransliterationRule> transliterationRules); static String transliterate(final String rawForm); static boolean startsWithPunctuation(final String s); }
StringConversionUtils { public static String getAnyKey(final String potentialKey) { return getAnyKey(potentialKey, true); } private  StringConversionUtils(); boolean isDisplayableStrongNumber(final String strongNumber); static String getStrongKey(final String strong); static String getAnyKey(final String potentialKey); static String getStrongLanguageSpecificKey(final String key); static String getStrongPaddedKey(final String key); static String padPrefixedStrongNumber(final String strongNumber); static String getAnyKey(final String potentialKey, final boolean trimInitial); static String unAccent(final String word); static String unAccent(final String word, final boolean isGreek); static String unAccent(final String word, final boolean isGreek, boolean unpointHebrewVowels); static String unAccentLeavingVowels(final String word); static String unAccentHebrewLeavingVowels(final String word); static String adaptForTransliterationForIndexing(final String stepTransliteration,
                                                            final boolean isGreek); static List<TransliterationOption> adaptTransliterationForQuerying(
            final String stepTransliteration, final boolean isGreek); static List<TransliterationOption> multiplyTranslitOptions(final String baseString,
                                                                      final List<TransliterationRule> transliterationRules); static String transliterate(final String rawForm); static boolean startsWithPunctuation(final String s);  }