KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > core > internal > plugins > Library


1 /*******************************************************************************
2  * Copyright (c) 2003, 2006 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.core.internal.plugins;
12
13 import org.eclipse.core.runtime.*;
14
15 public class Library implements ILibrary {
16     public String JavaDoc path;
17
18     public Library(String JavaDoc path) {
19         this.path = path;
20     }
21
22     public String JavaDoc[] getContentFilters() {
23         return null;
24     }
25
26     public IPath getPath() {
27         return new Path(path);
28     }
29
30     public String JavaDoc getType() {
31         return ILibrary.CODE;
32     }
33
34     public boolean isExported() {
35         return true;
36     }
37
38     public boolean isFullyExported() {
39         return true;
40     }
41
42     public String JavaDoc[] getPackagePrefixes() {
43         return null;
44     }
45
46 }
47
Popular Tags