Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2004, 2007 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at Contributors: IBM Corporation - initial API and implementation /
package org.eclipse.osgi.framework.internal.protocol.bundleentry;
URLStreamHandler the bundleentry protocol.
public class Handler extends BundleResourceHandler {

Constructor for a bundle protocol resource URLStreamHandler.
	public Handler() {
	public Handler(BundleEntry bundleEntryBaseAdaptor adaptor) {
	protected BundleEntry findBundleEntry(URL urlAbstractBundle bundlethrows IOException {
		BaseData bundleData = (BaseDatabundle.getBundleData();
		BundleEntry entry = bundleData.getBundleFile().getEntry(url.getPath());
		if (entry == null)
			throw new FileNotFoundException(url.getPath());
		return entry;
New to GrepCode? Check out our FAQ X