static void |
FovDataFactory.parseOrRecover(byte[] bytes,
boolean readFirstFOVbOnly,
BiConsumer<RandomAccessData,FovDataType> resultHandler) |
Parses the given data source using the standard parser and if it fails,
immediately tries the recovery parser.
|
static <R> Optional<R> |
FovDataFactory.parseOrRecover(byte[] bytes,
boolean readFirstFOVbOnly,
BiFunction<RandomAccessData,FovDataType,Optional<R>> resultHandler) |
Parses the given data source using the standard parser and if it fails,
immediately tries the recovery parser.
|
static void |
FovDataFactory.parseOrRecover(File file,
boolean readFirstFOVbOnly,
BiConsumer<RandomAccessData,FovDataType> resultHandler) |
Parses the given data source using the standard parser and if it fails,
immediately tries the recovery parser.
|
static <R> Optional<R> |
FovDataFactory.parseOrRecover(File file,
boolean readFirstFOVbOnly,
BiFunction<RandomAccessData,FovDataType,Optional<R>> resultHandler) |
Parses the given data source using the standard parser and if it fails,
immediately tries the recovery parser.
|
static void |
FovDataFactory.parseOrRecover(Path file,
boolean readFirstFOVbOnly,
BiConsumer<RandomAccessData,FovDataType> resultHandler) |
Parses the given data source using the standard parser and if it fails,
immediately tries the recovery parser.
|
static <R> Optional<R> |
FovDataFactory.parseOrRecover(Path file,
boolean readFirstFOVbOnly,
BiFunction<RandomAccessData,FovDataType,Optional<R>> resultHandler) |
Parses the given data source using the standard parser and if it fails,
immediately tries the recovery parser.
|