KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > de > jwi > jfm > HRef


1 package de.jwi.jfm;
2
3 /*
4  * jFM - Java Web File Manager
5  *
6  * Copyright (C) 2004 Juergen Weber
7  *
8  * This file is part of jFM.
9  *
10  * jFM is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * (at your option) any later version.
14  *
15  * jFM is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with jFM; if not, write to the Free Software
22  * Foundation, Inc., 59 Temple Place, Suite 330, Boston
23  */

24
25 /**
26  * @author Jürgen Weber
27  * Source file created on 27.03.2004
28  */

29 public class HRef
30 {
31     private String JavaDoc display;
32     private String JavaDoc link;
33
34     public HRef(String JavaDoc display,String JavaDoc link)
35     {
36         this.display = display;
37         this.link = link;
38     }
39     
40     public boolean getIsActive()
41     {
42         return link!=null;
43     }
44     
45     public String JavaDoc getDisplay()
46     {
47         return display;
48     }
49     
50     public String JavaDoc getLink()
51     {
52         return link;
53     }
54 }
55
Popular Tags