1 package classUtils.pack.util.ant;
2
3 /**
4 * @author cris
5 */
6 public class Resource {
7
8 String name;
9
10 public Resource() {
11 }
12
13 public void setName(String name) { this.name=name; }
14
15 public String toString() {
16 if (name==null) throw new RuntimeException("Internal error: name of resource not set");
17 return name;
18 }
19
20 }
21