Interface AppleSingleReader.ReadAtReporter
-
- Enclosing class:
- AppleSingleReader
public static interface AppleSingleReader.ReadAtReporterA reporter for theAppleSingleReader#readAt(int, int, String)method, heavily modeled on theConsumerinterface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidaccept(int start, byte[] data, java.lang.String description)Performs this operation on the given arguments.default AppleSingleReader.ReadAtReporterandThen(AppleSingleReader.ReadAtReporter after)Returns a composedReadAtReporterthat performs, in sequence, this operation followed by theafteroperation.
-
-
-
Method Detail
-
accept
void accept(int start, byte[] data, java.lang.String description)Performs this operation on the given arguments.- Parameters:
start- the offset into the filedata- the specific data being processeddescription- descriptive text regarding the data
-
andThen
default AppleSingleReader.ReadAtReporter andThen(AppleSingleReader.ReadAtReporter after)
Returns a composedReadAtReporterthat performs, in sequence, this operation followed by theafteroperation. If performing either operation throws an exception, it is relayed to the caller of the composed operation. If performing this operation throws an exception, theafteroperation will not be performed.- Parameters:
after- the operation to perform after this operation- Returns:
- a composed
ReadAtReporterthat performs in sequence this operation followed by theafteroperation - Throws:
java.lang.NullPointerException- ifafteris null
-
-