Clarify JavaDoc for WebView.loadData()
Bug: 5461416 Change-Id: I3f0955677ea64bb4073c97aabea34096298cd710
This commit is contained in:
@@ -801,11 +801,13 @@ public class WebView extends AbsoluteLayout
|
|||||||
* #loadDataWithBaseURL(String,String,String,String,String)
|
* #loadDataWithBaseURL(String,String,String,String,String)
|
||||||
* loadDataWithBaseURL()} with an appropriate base URL.
|
* loadDataWithBaseURL()} with an appropriate base URL.
|
||||||
* <p>
|
* <p>
|
||||||
* If the value of the encoding parameter is 'base64', then the data must
|
* The encoding parameter specifies whether the data is base64 or URL
|
||||||
* be encoded as base64. Otherwise, the data must use ASCII encoding for
|
* encoded. If the data is base64 encoded, the value of the encoding
|
||||||
|
* parameter must be 'base64'. For all other values of the parameter,
|
||||||
|
* including null, it is assumed that the data uses ASCII encoding for
|
||||||
* octets inside the range of safe URL characters and use the standard %xx
|
* octets inside the range of safe URL characters and use the standard %xx
|
||||||
* hex encoding of URLs for octets outside that range. For example,
|
* hex encoding of URLs for octets outside that range. For example, '#',
|
||||||
* '#', '%', '\', '?' should be replaced by %23, %25, %27, %3f respectively.
|
* '%', '\', '?' should be replaced by %23, %25, %27, %3f respectively.
|
||||||
* <p>
|
* <p>
|
||||||
* The 'data' scheme URL formed by this method uses the default US-ASCII
|
* The 'data' scheme URL formed by this method uses the default US-ASCII
|
||||||
* charset. If you need need to set a different charset, you should form a
|
* charset. If you need need to set a different charset, you should form a
|
||||||
|
|||||||
Reference in New Issue
Block a user