Back to project page WarDroid.
The source code is released under:
MIT License
If you think the Android project WarDroid 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.deathsnacks.wardroid.utils.httpclasses; /* w w w . java 2 s . co m*/ /** * Created by Admin on 04/02/14. */ public class News { private String id; private String url; private long publish; private String text; public String getId() { return id; } public String getUrl() { return url; } public long getPublish() { return publish; } public String getText() { return text; } public News(String raw) { String[] data = raw.split("\\|"); id = data[0]; url = data[1]; publish = Long.parseLong(data[2]); text = data[3]; } }