|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectandroid.net.Uri.AbstractPart
android.net.Uri.Part
static class Uri.Part
Immutable wrapper of encoded and decoded versions of a URI part. Lazily creates the encoded or decoded version from the other.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class android.net.Uri.AbstractPart |
|---|
Uri.AbstractPart.Representation |
| Field Summary | |
|---|---|
(package private) static Uri.Part |
EMPTY
A part with empty strings for values. |
(package private) static Uri.Part |
NULL
A part with null values. |
| Fields inherited from class android.net.Uri.AbstractPart |
|---|
decoded, encoded |
| Method Summary | |
|---|---|
(package private) static Uri.Part |
from(String encoded,
String decoded)
Creates a part from the encoded and decoded strings. |
(package private) static Uri.Part |
fromDecoded(String decoded)
Creates a part from the decoded string. |
(package private) static Uri.Part |
fromEncoded(String encoded)
Creates a part from the encoded string. |
(package private) String |
getEncoded()
|
(package private) boolean |
isEmpty()
|
(package private) static Uri.Part |
nonNull(Uri.Part part)
Returns given part or NULL if the given part is null. |
(package private) static Uri.Part |
readFrom(Parcel parcel)
|
| Methods inherited from class android.net.Uri.AbstractPart |
|---|
getDecoded, writeTo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static final Uri.Part NULL
static final Uri.Part EMPTY
| Method Detail |
|---|
boolean isEmpty()
String getEncoded()
getEncoded in class Uri.AbstractPartstatic Uri.Part readFrom(Parcel parcel)
static Uri.Part nonNull(Uri.Part part)
NULL if the given part is null.
static Uri.Part fromEncoded(String encoded)
encoded - part stringstatic Uri.Part fromDecoded(String decoded)
decoded - part string
static Uri.Part from(String encoded,
String decoded)
encoded - part stringdecoded - part string
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||