getLastPathSegment () をしらべたみた。
getLastPathSegment ()どんなのだろうと思った。
getLastPathSegment () URIのpath部から最後のセグメントをデコードして抽出する。 Return: デコードされた最後のセグメント。pathがnullの場合はnullを返す。 Ex) http://authority/a/b/c#fragment = c
http://yuki312.blogspot.jp/2012/03/androiduriuribuilderapi.html
パスの最後のセグメント?を抽出するみたいですね。
public abstract String getLastPathSegment ()
Added in API level 1 Gets the decoded last segment in the path.
Returns the decoded…
View On WordPress










