Searched refs:extractString (Results 1 – 2 of 2) sorted by relevance
221 assertThat(FetcherUtil.extractString(Integer.valueOf(64), 10).isEmpty()).isTrue(); in extractString_various()222 assertThat(FetcherUtil.extractString(Long.valueOf(64L), 10).isEmpty()).isTrue(); in extractString_various()223 assertThat(FetcherUtil.extractString("", 10).isPresent()).isTrue(); in extractString_various()224 assertThat(FetcherUtil.extractString("a", 10).isPresent()).isTrue(); in extractString_various()225 assertThat(FetcherUtil.extractString("abcd", 3).isEmpty()).isTrue(); in extractString_various()
154 public static Optional<String> extractString(Object obj, int maxLength) { in extractString() method in FetcherUtil180 Optional<String> string = FetcherUtil.extractString(jsonArray.get(i), maxStringLength); in extractStringArray()