/packages/apps/UnifiedEmail/src/com/android/mail/lib/base/ |
H A D | Escaper.java | 65 public abstract String escape(String string); method in class:Escaper 89 public abstract Appendable escape(Appendable out); method in class:Escaper 94 return escape(from); 99 * Returns a {@link Function} that invokes {@link #escape(String)} on this escaper.
|
H A D | CharEscaper.java | 37 * #escape(char)} method. 49 @Override public String escape(String string) { method in class:CharEscaper 54 if (escape(string.charAt(index)) != null) { 69 * <p>The escaping behavior is identical to that of {@link #escape(String)}, so the following code 70 * is always equivalent to {@code escaper.escape(string)}: <pre> {@code 73 * escaper.escape(sb).append(string); 80 @Override public Appendable escape(final Appendable out) { method in class:CharEscaper 85 out.append(escape(csq.toString())); 90 out.append(escape(csq.subSequence(start, end).toString())); 95 char[] escaped = escape( 193 protected abstract char[] escape(char c); method in class:CharEscaper [all...] |
H A D | CharEscaperBuilder.java | 32 * a very fast escape method. 44 * Overriding escape method to be slightly faster for this decorator. We test the replacements 47 @Override public String escape(String s) { method in class:CharEscaperBuilder.CharArrayDecorator 58 @Override protected char[] escape(char c) { method in class:CharEscaperBuilder.CharArrayDecorator
|
H A D | PercentEscaper.java | 189 public String escape(String s) { method in class:PercentEscaper 205 protected char[] escape(int cp) { method in class:PercentEscaper
|
H A D | UnicodeEscaper.java | 51 * the {@link #escape(int)} method. 56 /** The amount of padding (chars) to use when growing the escape buffer. */ 78 * @param cp the Unicode code point to escape if necessary 82 protected abstract char[] escape(int cp); method in class:UnicodeEscaper 90 * successive Unicode code points and invokes {@link #escape(int)} for each of 95 * <p>Note however that if your escaper does not escape characters in the 112 if (cp < 0 || escape(cp) != null) { 129 * {@link #escape(Appendable)}) which can cope with arbitrarily split input. 144 public String escape(String string) { method in class:UnicodeEscaper 153 * index. This method is called by the {@link #escape(Strin 262 public Appendable escape(final Appendable out) { method in class:UnicodeEscaper [all...] |
H A D | CharEscapers.java | 42 public String escape(String string) { 48 public Appendable escape(final Appendable out) { 76 protected char[] escape(char c) { 116 * safe to use this escaper to escape attribute values. Use the 117 * {@link #xmlEscaper()} escaper to escape attribute values or if you are 509 * and values should be individually encoded. If you escape an entire query 589 * and values should be individually encoded. If you escape an entire query 678 * RFC 2396</a>. Specifically it will not escape "/", ":" and ",". This is 699 * <p><b>Note</b></p>: does not escape single quotes, so use the escaper 709 * Java string literal. Does <em>not</em> escape singl 908 @Override public String escape(String s) { method in class:CharEscapers.FastCharEscaper 932 @Override protected char[] escape(char c) { method in class:CharEscapers.JavaCharEscaper 986 @Override protected char[] escape(char c) { method in class:CharEscapers.JavascriptCharEscaper 1037 @Override protected char[] escape(char c) { method in class:CharEscapers.HtmlCharEscaper 1092 protected char[] escape(char c) { method in class:CharEscapers.FallThroughCharEscaper [all...] |
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
H A D | Escaper.java | 66 public abstract String escape(String string); method in class:Escaper 90 public abstract Appendable escape(Appendable out); method in class:Escaper 95 return escape(from); 100 * Returns a {@link Function} that invokes {@link #escape(String)} on this escaper.
|
H A D | CharEscaper.java | 38 * #escape(char)} method. 50 @Override public String escape(String string) { method in class:CharEscaper 55 if (escape(string.charAt(index)) != null) { 70 * <p>The escaping behavior is identical to that of {@link #escape(String)}, so the following code 71 * is always equivalent to {@code escaper.escape(string)}: <pre> {@code 74 * escaper.escape(sb).append(string); 81 @Override public Appendable escape(final Appendable out) { method in class:CharEscaper 86 out.append(escape(csq.toString())); 91 out.append(escape(csq.subSequence(start, end).toString())); 96 char[] escaped = escape( 194 protected abstract char[] escape(char c); method in class:CharEscaper [all...] |
H A D | CharEscaperBuilder.java | 33 * a very fast escape method. 45 * Overriding escape method to be slightly faster for this decorator. We test the replacements 48 @Override public String escape(String s) { method in class:CharEscaperBuilder.CharArrayDecorator 59 @Override protected char[] escape(char c) { method in class:CharEscaperBuilder.CharArrayDecorator
|
H A D | PercentEscaper.java | 190 public String escape(String s) { method in class:PercentEscaper 206 protected char[] escape(int cp) { method in class:PercentEscaper
|
H A D | UnicodeEscaper.java | 51 * the {@link #escape(int)} method. 56 /** The amount of padding (chars) to use when growing the escape buffer. */ 78 * @param cp the Unicode code point to escape if necessary 82 protected abstract char[] escape(int cp); method in class:UnicodeEscaper 90 * successive Unicode code points and invokes {@link #escape(int)} for each of 95 * <p>Note however that if your escaper does not escape characters in the 112 if (cp < 0 || escape(cp) != null) { 129 * {@link #escape(Appendable)}) which can cope with arbitrarily split input. 144 public String escape(String string) { method in class:UnicodeEscaper 153 * index. This method is called by the {@link #escape(Strin 262 public Appendable escape(final Appendable out) { method in class:UnicodeEscaper [all...] |
H A D | CharEscapers.java | 42 public String escape(String string) { 48 public Appendable escape(final Appendable out) { 76 protected char[] escape(char c) { 116 * safe to use this escaper to escape attribute values. Use the 117 * {@link #xmlEscaper()} escaper to escape attribute values or if you are 509 * and values should be individually encoded. If you escape an entire query 589 * and values should be individually encoded. If you escape an entire query 678 * RFC 2396</a>. Specifically it will not escape "/", ":" and ",". This is 699 * <p><b>Note</b></p>: does not escape single quotes, so use the escaper 709 * Java string literal. Does <em>not</em> escape singl 908 @Override public String escape(String s) { method in class:CharEscapers.FastCharEscaper 932 @Override protected char[] escape(char c) { method in class:CharEscapers.JavaCharEscaper 986 @Override protected char[] escape(char c) { method in class:CharEscapers.JavascriptCharEscaper 1037 @Override protected char[] escape(char c) { method in class:CharEscapers.HtmlCharEscaper 1092 protected char[] escape(char c) { method in class:CharEscapers.FallThroughCharEscaper [all...] |