Build m5-rc15

android.net
Class Uri

java.lang.Object
  extended by android.net.Uri
All Implemented Interfaces:
Parcelable, Comparable

public abstract class Uri
extends Object
implements Parcelable, Comparable


Nested Class Summary
static class Uri.Builder
           
 
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.Creator
 
Field Summary
static Parcelable.Creator CREATOR
           
static Uri EMPTY
           
 
Constructor Summary
Uri()
           
 
Method Summary
abstract  Uri.Builder buildUpon()
           
 int compareTo(Uri other)
           
static String decode(String s)
           
static String encode(String s)
           
static String encode(String s, String allow)
           
 boolean equals(Object o)
           
static Uri fromFile(File file)
           
static Uri fromParts(String scheme, String ssp, String fragment)
           
abstract  String getAuthority()
           
abstract  String getEncodedAuthority()
           
abstract  String getEncodedFragment()
           
abstract  String getEncodedPath()
           
abstract  String getEncodedQuery()
           
abstract  String getEncodedSchemeSpecificPart()
           
abstract  String getEncodedUserInfo()
           
abstract  String getFragment()
           
abstract  String getHost()
           
abstract  String getLastPathSegment()
           
abstract  String getPath()
           
abstract  List getPathSegments()
           
abstract  int getPort()
           
abstract  String getQuery()
           
 String getQueryParameter(String key)
           
 List getQueryParameters(String key)
           
abstract  String getScheme()
           
abstract  String getSchemeSpecificPart()
           
abstract  String getUserInfo()
           
 int hashCode()
           
 boolean isAbsolute()
           
abstract  boolean isHierarchical()
           
 boolean isOpaque()
           
abstract  boolean isRelative()
           
static Uri parse(String uriString)
           
abstract  String toString()
           
static Uri withAppendedPath(Uri baseUri, String pathSegment)
           
static void writeToParcel(Parcel out, Uri uri)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface android.os.Parcelable
writeToParcel
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

EMPTY

public static final Uri EMPTY

CREATOR

public static final Parcelable.Creator CREATOR
Constructor Detail

Uri

public Uri()
Method Detail

isHierarchical

public abstract boolean isHierarchical()

isOpaque

public boolean isOpaque()

isRelative

public abstract boolean isRelative()

isAbsolute

public boolean isAbsolute()

getScheme

public abstract String getScheme()

getSchemeSpecificPart

public abstract String getSchemeSpecificPart()

getEncodedSchemeSpecificPart

public abstract String getEncodedSchemeSpecificPart()

getAuthority

public abstract String getAuthority()

getEncodedAuthority

public abstract String getEncodedAuthority()

getUserInfo

public abstract String getUserInfo()

getEncodedUserInfo

public abstract String getEncodedUserInfo()

getHost

public abstract String getHost()

getPort

public abstract int getPort()

getPath

public abstract String getPath()

getEncodedPath

public abstract String getEncodedPath()

getQuery

public abstract String getQuery()

getEncodedQuery

public abstract String getEncodedQuery()

getFragment

public abstract String getFragment()

getEncodedFragment

public abstract String getEncodedFragment()

getPathSegments

public abstract List getPathSegments()

getLastPathSegment

public abstract String getLastPathSegment()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(Uri other)

toString

public abstract String toString()
Overrides:
toString in class Object

buildUpon

public abstract Uri.Builder buildUpon()

parse

public static Uri parse(String uriString)

fromFile

public static Uri fromFile(File file)

fromParts

public static Uri fromParts(String scheme,
                            String ssp,
                            String fragment)

getQueryParameters

public List getQueryParameters(String key)

getQueryParameter

public String getQueryParameter(String key)

writeToParcel

public static void writeToParcel(Parcel out,
                                 Uri uri)

encode

public static String encode(String s)

encode

public static String encode(String s,
                            String allow)

decode

public static String decode(String s)

withAppendedPath

public static Uri withAppendedPath(Uri baseUri,
                                   String pathSegment)

Build m5-rc15

Please submit a feedback, bug or feature