svn-gvsig-desktop / tags / v1_1_Build_1004 / libraries / libDriverManager / src / com / hardcode / driverManager / pruebas / TextAdderDriver.java @ 12319
History | View | Annotate | Download (549 Bytes)
1 | 467 | fernando | package com.hardcode.driverManager.pruebas; |
---|---|---|---|
2 | |||
3 | 10407 | fjp | import com.hardcode.driverManager.AbstractDriver; |
4 | 467 | fernando | import com.hardcode.driverManager.Driver; |
5 | |||
6 | /**
|
||
7 | * @author Fernando Gonz?lez Cort?s
|
||
8 | */
|
||
9 | 10407 | fjp | public class TextAdderDriver extends AbstractDriver implements Adder{ |
10 | 467 | fernando | |
11 | /**
|
||
12 | * @see com.hardcode.driverManager.pruebas.Adder#add(java.lang.String, java.lang.String)
|
||
13 | */
|
||
14 | public String add(String a, String b) { |
||
15 | return a+b;
|
||
16 | } |
||
17 | |||
18 | /**
|
||
19 | * @see com.hardcode.driverManager.Driver#getName()
|
||
20 | */
|
||
21 | public String getName() { |
||
22 | return "Driver para texto del Fernan"; |
||
23 | } |
||
24 | |||
25 | } |