blob: 69150963d0598d655707b7a2d1242bc28c595f12 [file] [log] [blame]
Richard S. Hall930fecc2005-08-16 18:33:34 +00001/*
2 * $Header: /cvshome/build/org.osgi.service.url/src/org/osgi/service/url/URLConstants.java,v 1.6 2005/05/13 20:32:35 hargrave Exp $
3 *
4 * Copyright (c) OSGi Alliance (2002, 2005). All Rights Reserved.
5 *
6 * This program and the accompanying materials are made available under the
7 * terms of the Eclipse Public License v1.0 which accompanies this
8 * distribution, and is available at http://www.eclipse.org/legal/epl-v10.html.
9 */
10
11package org.osgi.service.url;
12
13/**
14 * Defines standard names for property keys associated with
15 * {@link URLStreamHandlerService}and <code>java.net.ContentHandler</code>
16 * services.
17 *
18 * <p>
19 * The values associated with these keys are of type <code>java.lang.String[]</code>,
20 * unless otherwise indicated.
21 *
22 * @version $Revision: 1.6 $
23 */
24public interface URLConstants {
25 /**
26 * Service property naming the protocols serviced by a
27 * URLStreamHandlerService. The property's value is an array of protocol
28 * names.
29 */
30 public static final String URL_HANDLER_PROTOCOL = "url.handler.protocol";
31 /**
32 * Service property naming the MIME types serviced by a
33 * java.net.ContentHandler. The property's value is an array of MIME types.
34 */
35 public static final String URL_CONTENT_MIMETYPE = "url.content.mimetype";
36}