gedcom-api/src/main/java/de/nth/chronicle/gedcom/parser/RecordParser.java

16 lines
431 B
Java

package de.nth.chronicle.gedcom.parser;
import de.nth.chronicle.gedcom.exception.GedcomException;
import de.nth.chronicle.gedcom.type.Address;
import de.nth.chronicle.gedcom.type.Header;
public interface RecordParser<T> {
public T parse(RecordChunk chunk) throws GedcomException;
public static RecordParser<Header> HEADER = new HeaderParser();
public static RecordParser<Address> ADDRESS = new AddressParser();
}