public class CustomReaderFactory extends Object
Modifier and Type | Class | 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 | Description |
---|---|---|
static CustomReaderFactory |
getInstance() |
|
SamReader |
maybeOpen(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()