Package org.jeasy.batch.core.record
Class FileRecord
- java.lang.Object
-
- org.jeasy.batch.core.record.GenericRecord<java.nio.file.Path>
-
- org.jeasy.batch.core.record.FileRecord
-
- All Implemented Interfaces:
Record<java.nio.file.Path>
public class FileRecord extends GenericRecord<java.nio.file.Path>
Record representing a file in a directory.- Author:
- Mahmoud Ben Hassine ([email protected])
-
-
Field Summary
-
Fields inherited from class org.jeasy.batch.core.record.GenericRecord
header, payload
-
-
Constructor Summary
Constructors Constructor Description FileRecord(Header header, java.nio.file.Path payload)
Create a newFileRecord
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
Methods inherited from class org.jeasy.batch.core.record.GenericRecord
getHeader, getPayload
-
-
-
-
Constructor Detail
-
FileRecord
public FileRecord(Header header, java.nio.file.Path payload)
Create a newFileRecord
.- Parameters:
header
- the record headerpayload
- the record payload
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classGenericRecord<java.nio.file.Path>
-
-