Back to project page android-google-spreadsheets-api.
The source code is released under:
Apache License
If you think the Android project android-google-spreadsheets-api listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.github.spreadsheets.android.api.model; /*from ww w .ja v a 2 s.c o m*/ import com.google.api.client.util.Key; import java.util.List; public class Link { @Key("@href") public String href; @Key("@rel") public String rel; public static String find(List<Link> links, String rel) { if (links != null) { for (Link link : links) { if (rel.equals(link.rel)) { return link.href; } } } return null; } }