Back to project page roodroid.
The source code is released under:
Copyright (c) 2011, Jonathan Perichon & Lucas Gerbeaux Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"...
If you think the Android project roodroid 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 fr.utbm.roodroid; //from w w w. java 2s . co m import java.util.Date; /** * TextMessage * Extends the class Message and is used for SMS. * * @author Jonathan Perichon <jonathan.perichon@gmail.com> * @author Lucas Gerbeaux <lucas.gerbeaux@gmail.com> * */ public class TextMessage extends Message { private static final long serialVersionUID = 3683547006597423405L; private String content; public TextMessage(Date date, MessageStatus messageStatus, String content) { super(date, messageStatus, MessageType.SMS); this.content = content; } @Override public String getTextContent() { return content; } public String toString() { return content; } }