|
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.PathPart
static class Uri.PathPart
Immutable wrapper of encoded and decoded versions of a path 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.PathPart |
EMPTY
A part with empty strings for values. |
(package private) static Uri.PathPart |
NULL
A part with null values. |
| Fields inherited from class android.net.Uri.AbstractPart |
|---|
decoded, encoded |
| Method Summary | |
|---|---|
(package private) static Uri.PathPart |
appendDecodedSegment(Uri.PathPart oldPart,
String decoded)
|
(package private) static Uri.PathPart |
appendEncodedSegment(Uri.PathPart oldPart,
String newSegment)
|
(package private) static Uri.PathPart |
from(String encoded,
String decoded)
Creates a path from the encoded and decoded strings. |
(package private) static Uri.PathPart |
fromDecoded(String decoded)
Creates a path from the decoded string. |
(package private) static Uri.PathPart |
fromEncoded(String encoded)
Creates a path from the encoded string. |
(package private) String |
getEncoded()
|
(package private) Uri.PathSegments |
getPathSegments()
Gets the individual path segments. |
(package private) static Uri.PathPart |
makeAbsolute(Uri.PathPart oldPart)
Prepends path values with "/" if they're present, not empty, and they don't already start with "/". |
(package private) static Uri.PathPart |
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.PathPart NULL
static final Uri.PathPart EMPTY
| Method Detail |
|---|
String getEncoded()
getEncoded in class Uri.AbstractPartUri.PathSegments getPathSegments()
static Uri.PathPart appendEncodedSegment(Uri.PathPart oldPart,
String newSegment)
static Uri.PathPart appendDecodedSegment(Uri.PathPart oldPart,
String decoded)
static Uri.PathPart readFrom(Parcel parcel)
static Uri.PathPart fromEncoded(String encoded)
encoded - part stringstatic Uri.PathPart fromDecoded(String decoded)
decoded - part string
static Uri.PathPart from(String encoded,
String decoded)
encoded - part stringdecoded - part stringstatic Uri.PathPart makeAbsolute(Uri.PathPart oldPart)
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||