FrameworkUtil.java

00001 /*
00002  * 
00003  * Copyright (c) OSGi Alliance (2005). All Rights Reserved.
00004  * 
00005  * This program and the accompanying materials are made available under the
00006  * terms of the Eclipse Public License v1.0 which accompanies this 
00007  * distribution, and is available at http://www.eclipse.org/legal/epl-v10.html.
00008  *
00009  * Copyright (c) Knopflerfish project (2006). All Rights Reserved.
00010  *
00011  * Redistribution and use in source and binary forms, with or without
00012  * modification, are permitted provided that the following
00013  * conditions are met:
00014  *
00015  * - Redistributions of source code must retain the above copyright
00016  *   notice, this list of conditions and the following disclaimer.
00017  *
00018  * - Redistributions in binary form must reproduce the above
00019  *   copyright notice, this list of conditions and the following
00020  *   disclaimer in the documentation and/or other materials
00021  *   provided with the distribution.
00022  *
00023  * - Neither the name of the KNOPFLERFISH project nor the names of its
00024  *   contributors may be used to endorse or promote products derived
00025  *   from this software without specific prior written permission.
00026  *
00027  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
00028  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
00029  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
00030  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
00031  * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
00032  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
00033  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
00034  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
00035  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
00036  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
00037  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
00038  * OF THE POSSIBILITY OF SUCH DAMAGE.
00039  */
00040 
00041 package org.osgi.framework;
00042 
00052 public class FrameworkUtil {
00053 
00057         private FrameworkUtil() {}
00058         
00076         public static Filter createFilter(String filter) throws InvalidSyntaxException {
00077                 return new org.knopflerfish.framework.FilterImpl(filter);
00078         }
00079 }

Generated on Mon Jan 11 21:19:14 2010 for OpenMobileIS by  doxygen 1.5.4