Searched refs:safeChars (Results 1 – 1 of 1) sorted by relevance
118 public PercentEscaper(String safeChars, boolean plusForSpace) { in PercentEscaper() argument119 checkNotNull(safeChars); // eager for GWT. in PercentEscaper()122 if (safeChars.matches(".*[0-9A-Za-z].*")) { in PercentEscaper()129 if (plusForSpace && safeChars.contains(" ")) { in PercentEscaper()133 if (safeChars.contains("%")) { in PercentEscaper()138 this.safeOctets = createSafeOctets(safeChars); in PercentEscaper()146 private static boolean[] createSafeOctets(String safeChars) { in createSafeOctets() argument148 char[] safeCharArray = safeChars.toCharArray(); in createSafeOctets()