org.exist.protocolhandler
Class eXistURLStreamHandlerFactory

java.lang.Object
  extended by org.exist.protocolhandler.eXistURLStreamHandlerFactory
All Implemented Interfaces:
URLStreamHandlerFactory

public class eXistURLStreamHandlerFactory
extends Object
implements URLStreamHandlerFactory

Factory class for creating custom stream handlers for the 'xmldb' protocol.

Author:
Dannes Wessels
See Also:
URLStreamHandler, URLStreamHandlerFactory

Field Summary
static String EXIST_PROTOCOL_HANDLER
           
static String JAVA_PROTOCOL_HANDLER_PKGS
           
 
Constructor Summary
eXistURLStreamHandlerFactory()
           
 
Method Summary
 URLStreamHandler createURLStreamHandler(String protocol)
          Create Custom URL streamhandler for the xmldb protocol.
static void init()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JAVA_PROTOCOL_HANDLER_PKGS

public static final String JAVA_PROTOCOL_HANDLER_PKGS
See Also:
Constant Field Values

EXIST_PROTOCOL_HANDLER

public static final String EXIST_PROTOCOL_HANDLER
See Also:
Constant Field Values
Constructor Detail

eXistURLStreamHandlerFactory

public eXistURLStreamHandlerFactory()
Method Detail

init

public static void init()

createURLStreamHandler

public URLStreamHandler createURLStreamHandler(String protocol)
Create Custom URL streamhandler for the xmldb protocol.

Specified by:
createURLStreamHandler in interface URLStreamHandlerFactory
Parameters:
protocol - Protocol
Returns:
Custom Xmldb stream handler.


Copyright (C) Wolfgang Meier. All rights reserved.