View Javadoc

1   /*
2    *  MicroEmulator
3    *  Copyright (C) 2001 Bartek Teodorczyk <barteo@barteo.net>
4    *
5    *  This library is free software; you can redistribute it and/or
6    *  modify it under the terms of the GNU Lesser General Public
7    *  License as published by the Free Software Foundation; either
8    *  version 2.1 of the License, or (at your option) any later version.
9    *
10   *  This library is distributed in the hope that it will be useful,
11   *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12   *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13   *  Lesser General Public License for more details.
14   *
15   *  You should have received a copy of the GNU Lesser General Public
16   *  License along with this library; if not, write to the Free Software
17   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18   */
19   
20  package org.microemu.util;
21  
22  
23  public class JadMidletEntry
24  {
25    
26    String name;
27    String icon;
28    String className;
29    
30    
31    JadMidletEntry(String name, String icon, String className)
32    {
33      this.name = name;
34      this.icon = icon;
35      this.className = className;
36    }
37    
38    
39    public String getClassName()
40    {
41      return className;
42    }
43    
44    
45    public String getName()
46    {
47      return name;
48    }
49    
50    
51    // remove it later
52    public String toString()
53    {
54      return name +"+"+ icon +"+"+ className;
55    }
56    
57  }