Back to project page antigravity.
The source code is released under:
GNU General Public License
If you think the Android project antigravity 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.floatboth.antigravity.post; /*ww w. ja va 2 s. com*/ import com.floatboth.antigravity.data.*; public class PlainPostFactory implements PostFactory { public boolean isAvailable() { return true; } public Post makePost(String text) { Post p = new Post(); p.text = text; return p; } public String factoryName() { return "Plain text"; } }