android.net
Class UrlQuerySanitizer.IllegalCharacterValueSanitizer

java.lang.Object
  extended by android.net.UrlQuerySanitizer.IllegalCharacterValueSanitizer
All Implemented Interfaces:
UrlQuerySanitizer.ValueSanitizer
Enclosing class:
UrlQuerySanitizer

public static class UrlQuerySanitizer.IllegalCharacterValueSanitizer
extends Object
implements UrlQuerySanitizer.ValueSanitizer


Field Summary
static int ALL_BUT_NUL_AND_ANGLE_BRACKETS_LEGAL
           
static int ALL_BUT_NUL_LEGAL
           
static int ALL_BUT_WHITESPACE_LEGAL
           
static int ALL_ILLEGAL
           
static int ALL_OK
           
static int ALL_WHITESPACE_OK
           
static int AMP_AND_SPACE_LEGAL
           
static int AMP_LEGAL
           
static int AMP_OK
           
static int DQUOTE_OK
           
static int GT_OK
           
static int LT_OK
           
static int NON_7_BIT_ASCII_OK
           
static int NUL_OK
           
static int OTHER_WHITESPACE_OK
           
static int PCT_OK
           
static int SCRIPT_URL_OK
           
static int SPACE_LEGAL
           
static int SPACE_OK
           
static int SQUOTE_OK
           
static int URL_AND_SPACE_LEGAL
           
static int URL_LEGAL
           
 
Constructor Summary
UrlQuerySanitizer.IllegalCharacterValueSanitizer(int flags)
           
 
Method Summary
 String sanitize(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SPACE_OK

public static final int SPACE_OK
See Also:
Constant Field Values

OTHER_WHITESPACE_OK

public static final int OTHER_WHITESPACE_OK
See Also:
Constant Field Values

NON_7_BIT_ASCII_OK

public static final int NON_7_BIT_ASCII_OK
See Also:
Constant Field Values

DQUOTE_OK

public static final int DQUOTE_OK
See Also:
Constant Field Values

SQUOTE_OK

public static final int SQUOTE_OK
See Also:
Constant Field Values

LT_OK

public static final int LT_OK
See Also:
Constant Field Values

GT_OK

public static final int GT_OK
See Also:
Constant Field Values

AMP_OK

public static final int AMP_OK
See Also:
Constant Field Values

PCT_OK

public static final int PCT_OK
See Also:
Constant Field Values

NUL_OK

public static final int NUL_OK
See Also:
Constant Field Values

SCRIPT_URL_OK

public static final int SCRIPT_URL_OK
See Also:
Constant Field Values

ALL_OK

public static final int ALL_OK
See Also:
Constant Field Values

ALL_WHITESPACE_OK

public static final int ALL_WHITESPACE_OK
See Also:
Constant Field Values

ALL_ILLEGAL

public static final int ALL_ILLEGAL
See Also:
Constant Field Values

ALL_BUT_NUL_LEGAL

public static final int ALL_BUT_NUL_LEGAL
See Also:
Constant Field Values

ALL_BUT_WHITESPACE_LEGAL

public static final int ALL_BUT_WHITESPACE_LEGAL
See Also:
Constant Field Values

URL_LEGAL

public static final int URL_LEGAL
See Also:
Constant Field Values

URL_AND_SPACE_LEGAL

public static final int URL_AND_SPACE_LEGAL
See Also:
Constant Field Values

AMP_LEGAL

public static final int AMP_LEGAL
See Also:
Constant Field Values

AMP_AND_SPACE_LEGAL

public static final int AMP_AND_SPACE_LEGAL
See Also:
Constant Field Values

SPACE_LEGAL

public static final int SPACE_LEGAL
See Also:
Constant Field Values

ALL_BUT_NUL_AND_ANGLE_BRACKETS_LEGAL

public static final int ALL_BUT_NUL_AND_ANGLE_BRACKETS_LEGAL
See Also:
Constant Field Values
Constructor Detail

UrlQuerySanitizer.IllegalCharacterValueSanitizer

public UrlQuerySanitizer.IllegalCharacterValueSanitizer(int flags)
Method Detail

sanitize

public String sanitize(String value)
Specified by:
sanitize in interface UrlQuerySanitizer.ValueSanitizer


Copyright © 2008-2012. All Rights Reserved.