ChunkDecoder implementations, based on criteria
such as "fastest available".
Yes, it looks butt-ugly, but does the job. Nonetheless, if anyone has lipstick for this pig, let me know.
| Modifier and Type | Field and Description |
|---|---|
| private final Class | |
| private static final ChunkDecoderFactory |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ChunkDecoder | optimalInstance()
Method to use for getting decoder instance that uses the most optimal available methods for underlying data access. |
| public static ChunkDecoder |
| _implClass | back to summary |
|---|---|
| private final Class<? extends ChunkDecoder> _implClass | |
| _instance | back to summary |
|---|---|
| private static final ChunkDecoderFactory _instance | |
| ChunkDecoderFactory | back to summary |
|---|---|
private ChunkDecoderFactory(Class<?> imp)
| |
| optimalInstance | back to summary |
|---|---|
| public static ChunkDecoder optimalInstance() Method to use for getting decoder instance that uses the most optimal
available methods for underlying data access. It should be safe to call
this method as implementations are dynamically loaded; however, on some
non-standard platforms it may be necessary to either directly load
instances, or use | |
| safeInstance | back to summary |
|---|---|
| public static ChunkDecoder safeInstance() Method that can be used to ensure that a "safe" decoder instance is loaded. Safe here means that it should work on any and all Java platforms. | |