TurtleUtil { public static int findURISplitIndex(String uri) { int uriLength = uri.length(); int idx = uriLength - 1; for (; idx >= 0; idx--) { if (!TurtleUtil.isNameChar(uri.charAt(idx))) { break; } } idx++; for (; idx < uriLength; idx++) { if (TurtleUtil.isNameStartChar(uri.charAt(idx))) { break; } } if (!TurtleUtil.isNameEndChar(uri.charAt(uriLength - 1))) { return -1; } if (idx > 0 && idx < uriLength) { return idx; } return -1; }  static int findURISplitIndex(String uri); static boolean isWhitespace(int codePoint); static boolean isPN_CHARS_BASE(int codePoint); static boolean isPN_CHARS_U(int codePoint); static boolean isPN_CHARS(int codePoint); static boolean isPrefixStartChar(int codePoint); static boolean isBLANK_NODE_LABEL_StartChar(int codePoint); static boolean isBLANK_NODE_LABEL_Char(int codePoint); static boolean isBLANK_NODE_LABEL_EndChar(int codePoint); static boolean isNameStartChar(int codePoint); static boolean isNameChar(int codePoint); static boolean isNameEndChar(int codePoint); static boolean isLocalEscapedChar(int codePoint); static boolean isPrefixChar(int codePoint); static boolean isLanguageStartChar(int codePoint); static boolean isLanguageChar(int codePoint); static boolean isPN_PREFIX(String prefix); static boolean isPLX_START(String name); static boolean isPERCENT(String name); static boolean isPLX_INTERNAL(String name); static boolean isPN_LOCAL_ESC(String name); static boolean isPN_LOCAL(String name); static String encodeString(String s); static String encodeLongString(String s); @Deprecated static String encodeURIString(String s); static String decodeString(String s); static final char[] LOCAL_ESCAPED_CHARS; }
@Ignore("TODO: Implement me") @Test public final void testFindURISplitIndex() { }