16 lines
431 B
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();
|
|
|
|
}
|