Lines Matching defs:DECODED
185 * @return the decoded scheme-specific-part
197 * @return the decoded scheme-specific-part
202 * Gets the decoded authority part of this URI. For
224 * Gets the decoded user information from the authority.
259 * Gets the decoded path.
261 * @return the decoded path, or null if this is not a hierarchical URI
275 * Gets the decoded query component from this URI. The query comes after
280 * @return the decoded query or null if there isn't one
295 * Gets the decoded fragment part of this URI, everything after the '#'.
297 * @return the decoded fragment or null if there isn't one
309 * Gets the decoded path segments.
311 * @return decoded path segments, each without a leading or trailing '/'
316 * Gets the decoded last segment in the path.
318 * @return the decoded last segment or null if the path is empty
1349 * @param opaquePart decoded opaque part
1558 * @return a set of decoded names
1598 * @return a list of decoded values
1655 * <p><strong>Warning:</strong> Prior to Ice Cream Sandwich, this decoded
1661 * @return the decoded value or null if no parameter is found
1713 * @param key which will be decoded
1926 * @return the given string with escaped octets decoded, or null if
1947 static final int DECODED = 2;
1951 volatile String decoded;
1953 AbstractPart(String encoded, String decoded) {
1955 this.decoded = decoded;
1962 boolean hasDecoded = decoded != NOT_CACHED;
1963 return hasDecoded ? decoded : (decoded = decode(encoded));
1971 boolean hasDecoded = decoded != NOT_CACHED;
1976 parcel.writeString(decoded);
1981 parcel.writeInt(Representation.DECODED);
1982 parcel.writeString(decoded);
1984 throw new IllegalArgumentException("Neither encoded nor decoded");
1990 * Immutable wrapper of encoded and decoded versions of a URI part. Lazily
1991 * creates the encoded or decoded version from the other.
2001 private Part(String encoded, String decoded) {
2002 super(encoded, decoded);
2012 return hasEncoded ? encoded : (encoded = encode(decoded));
2022 case Representation.DECODED:
2047 * Creates a part from the decoded string.
2049 * @param decoded part string
2051 static Part fromDecoded(String decoded) {
2052 return from(NOT_CACHED, decoded);
2056 * Creates a part from the encoded and decoded strings.
2059 * @param decoded part string
2061 static Part from(String encoded, String decoded) {
2062 // We have to check both encoded and decoded in case one is
2072 if (decoded == null) {
2075 if (decoded .length() == 0) {
2079 return new Part(encoded, decoded);
2095 * Immutable wrapper of encoded and decoded versions of a path part. Lazily
2096 * creates the encoded or decoded version from the other.
2106 private PathPart(String encoded, String decoded) {
2107 super(encoded, decoded);
2115 return hasEncoded ? encoded : (encoded = encode(decoded, "/"));
2193 static PathPart appendDecodedSegment(PathPart oldPart, String decoded) {
2194 String encoded = encode(decoded);
2207 case Representation.DECODED:
2224 * Creates a path from the decoded string.
2226 * @param decoded part string
2228 static PathPart fromDecoded(String decoded) {
2229 return from(NOT_CACHED, decoded);
2233 * Creates a path from the encoded and decoded strings.
2236 * @param decoded part string
2238 static PathPart from(String encoded, String decoded) {
2247 return new PathPart(encoded, decoded);
2260 String oldPath = encodedCached ? oldPart.encoded : oldPart.decoded;
2271 // Prepend decoded string if present.
2273 boolean decodedCached = oldPart.decoded != NOT_CACHED;
2275 ? "/" + oldPart.decoded