public class CustomReaderFactory
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
CustomReaderFactory.ICustomReaderFactory
Interface to be implemented by custom factory classes that register
themselves with this factory and are loaded dynamically.
|
Modifier and Type | Method and Description |
---|---|
static CustomReaderFactory |
getInstance() |
SamReader |
maybeOpen(java.net.URL url)
Check if the url is supposed to be handled by the custom factory and if so
attempt to create reader via an instance of this custom factory.
|
static void |
resetToDefaultInstance() |
static void |
setInstance(CustomReaderFactory factory) |
public static void setInstance(CustomReaderFactory factory)
public static void resetToDefaultInstance()
public static CustomReaderFactory getInstance()
public SamReader maybeOpen(java.net.URL url)