Back to project page Android-Apps.
The source code is released under:
Apache License
If you think the Android project Android-Apps 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.kniezrec.xbmcgear.player; // w w w. j a v a 2 s .c om /** * Author kamil */ public class Kodi { private int mMajor; private int mMinor; private String mName = ""; public void setMajor(int mMajor) { this.mMajor = mMajor; } public void setMinor(int mMinor) { this.mMinor = mMinor; } public void setName(String mName) { this.mName = mName; } public String toString() { StringBuilder sb = new StringBuilder(); sb.append(mName); sb.append(" "); sb.append(Integer.valueOf(mMajor)); sb.append("."); sb.append(Integer.valueOf(mMinor)); return sb.toString(); } }