public interface EntityFormat
Entity format interface. This is used for line-based text files.
Modifier and Type | Method and Description |
---|---|
EntityType |
getEntityType()
Get the type of entities returned by this format.
|
int |
getHeaderLines()
Get the number of header lines this format uses.
|
LineEntityParser |
makeParser(List<String> header)
Create an entity parser for a file.
|
com.fasterxml.jackson.databind.node.ObjectNode |
toJSON()
Create a JSON description of this entity format.
|
EntityType getEntityType()
Get the type of entities returned by this format.
int getHeaderLines()
Get the number of header lines this format uses.
LineEntityParser makeParser(List<String> header)
Create an entity parser for a file.
header
- The header lines.com.fasterxml.jackson.databind.node.ObjectNode toJSON()
Create a JSON description of this entity format.