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; //ww w . java 2 s . co m import com.google.api.client.util.Key; import java.util.ArrayList; import java.util.List; public class CellFeed extends Feed { @Key("title") public String title; @Key("author") public Author author; @Key("entry") public List<CellEntry> cells = new ArrayList<CellEntry>(); public List<CellEntry> getEntries() { return cells; } public String getBatchError() { for (CellEntry ce : cells) { BatchStatus batchStatus = ce.batchStatus; if (batchStatus != null) { return batchStatus.reason; } } return null; } public CellEntry getCellEntry(final String title) { if (title != null) { final String s = title.trim(); for (CellEntry e : cells) { if (s.equals(e.title)) { return e; } } } return null; } }