Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.ote.core/src/org/eclipse/osee/ote/classserver/FrameworkResourceFinder.java')
-rw-r--r--plugins/org.eclipse.osee.ote.core/src/org/eclipse/osee/ote/classserver/FrameworkResourceFinder.java37
1 files changed, 0 insertions, 37 deletions
diff --git a/plugins/org.eclipse.osee.ote.core/src/org/eclipse/osee/ote/classserver/FrameworkResourceFinder.java b/plugins/org.eclipse.osee.ote.core/src/org/eclipse/osee/ote/classserver/FrameworkResourceFinder.java
deleted file mode 100644
index c5260fd863a..00000000000
--- a/plugins/org.eclipse.osee.ote.core/src/org/eclipse/osee/ote/classserver/FrameworkResourceFinder.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2013 Boeing.
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.ote.classserver;
-
-import java.io.IOException;
-import java.net.URL;
-
-import org.osgi.framework.Bundle;
-import org.osgi.framework.FrameworkUtil;
-
-public class FrameworkResourceFinder extends ResourceFinder{
-
- @Override
- public byte[] find(String path) throws IOException {
- for(Bundle bundle:FrameworkUtil.getBundle(getClass()).getBundleContext().getBundles()){
- URL url = bundle.getResource(path);
- if (url != null) {
- return getBytes(url.openStream());
- }
- }
- return null;
- }
-
- @Override
- public void dispose() {
-
- }
-
-}

Back to the top