KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > fractal > jar > PackageFile


1 /*
2  * Copyright area
3  */

4
5 package org.objectweb.fractal.jar;
6
7 import java.io.Serializable JavaDoc;
8 import java.util.HashSet JavaDoc;
9 import java.util.Set JavaDoc;
10
11 public class PackageFile implements Serializable JavaDoc {
12
13   String JavaDoc name;
14   
15   String JavaDoc version;
16   
17   Set JavaDoc packages; // list of Package that contain this file
18

19   byte[] content;
20   
21   public PackageFile (String JavaDoc name, String JavaDoc version) {
22     this.name = name;
23     this.version = version;
24     this.packages = new HashSet JavaDoc();
25   }
26   
27   public String JavaDoc toString () {
28     return name;
29   }
30 }
31
Popular Tags