KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > update > internal > configurator > BootDescriptor


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.update.internal.configurator;
12
13 import java.net.*;
14
15
16 public class BootDescriptor {
17     private String JavaDoc id;
18     private String JavaDoc version;
19     private String JavaDoc[] libs;
20     private URL dir;
21
22     public BootDescriptor(String JavaDoc id, String JavaDoc version, String JavaDoc[] libs, URL dir) {
23         this.id = id;
24         this.version = version;
25         this.libs = libs;
26         this.dir = dir;
27     }
28
29     public String JavaDoc getId() {
30         return id;
31     }
32
33     public String JavaDoc getVersion() {
34         return version;
35     }
36
37     public String JavaDoc[] getLibraries() {
38         return libs;
39     }
40
41     public URL getPluginDirectoryURL() {
42         return dir;
43     }
44 }
45
Popular Tags