Index
All Classes and Interfaces|All Packages
B
- BirthRecord - Class in com.github.jamesross03.pop_parser.utils.records
-
Object representing a birth record.
- BirthRecord(String, String) - Constructor for class com.github.jamesross03.pop_parser.utils.records.BirthRecord
-
Initialises a new instance of the
BirthRecord
class for the given attributes. - BirthRecordFactory - Class in com.github.jamesross03.pop_parser.utils.factories
-
RecordFactory
subclass for makingBirthRecord
objects from a line of CSV input. - BirthRecordFactory(RecordFormat) - Constructor for class com.github.jamesross03.pop_parser.utils.factories.BirthRecordFactory
C
- com.github.jamesross03.pop_parser - package com.github.jamesross03.pop_parser
-
A modular and reusable Java library containing functionality for parsing population record CSVs.
- com.github.jamesross03.pop_parser.utils - package com.github.jamesross03.pop_parser.utils
-
Package containing a number of Objects and abstract classes used by
RecordParser
. - com.github.jamesross03.pop_parser.utils.factories - package com.github.jamesross03.pop_parser.utils.factories
-
Package containing implementations of the
RecordFactory
abstract class. - com.github.jamesross03.pop_parser.utils.formats - package com.github.jamesross03.pop_parser.utils.formats
-
Package containing implementations of the
RecordFormat
abstract class. - com.github.jamesross03.pop_parser.utils.records - package com.github.jamesross03.pop_parser.utils.records
-
Package containing implementations of the
Record
abstract class. - Constants - Class in com.github.jamesross03.pop_parser
-
Defines constants used throughout the pop-parser library.
- Constants() - Constructor for class com.github.jamesross03.pop_parser.Constants
F
- FACTORY_MAP - Static variable in class com.github.jamesross03.pop_parser.Constants
-
Map of <
Record
subclass,RecordFactory
subclass instance> pairs used to get corresponding factory. - format - Variable in class com.github.jamesross03.pop_parser.utils.RecordFactory
-
Structure of records being input.
G
- getForename() - Method in class com.github.jamesross03.pop_parser.utils.records.BirthRecord
-
Gets forename of data-subject.
- getForenameBirth(Map<String, String>) - Method in class com.github.jamesross03.pop_parser.utils.formats.TDFormat
- getForenameBirth(Map<String, String>) - Method in class com.github.jamesross03.pop_parser.utils.formats.UMEAFormat
- getForenameBirth(Map<String, String>) - Method in class com.github.jamesross03.pop_parser.utils.RecordFormat
-
Gets forename from a birth record.
- getSurname() - Method in class com.github.jamesross03.pop_parser.utils.records.BirthRecord
-
Gets surname of data-subject.
- getSurnameBirth(Map<String, String>) - Method in class com.github.jamesross03.pop_parser.utils.formats.TDFormat
- getSurnameBirth(Map<String, String>) - Method in class com.github.jamesross03.pop_parser.utils.formats.UMEAFormat
- getSurnameBirth(Map<String, String>) - Method in class com.github.jamesross03.pop_parser.utils.RecordFormat
-
Gets surname from a birth record.
M
- makeRecord(Map<String, String>) - Method in class com.github.jamesross03.pop_parser.utils.factories.BirthRecordFactory
- makeRecord(Map<String, String>) - Method in class com.github.jamesross03.pop_parser.utils.RecordFactory
-
Takes a map of attribute names and their corresponding values, representing a line read in from a record file, and uses them to create a new
Record
object of subclassT
.
P
- parse(String) - Method in class com.github.jamesross03.pop_parser.RecordParser
-
Parses all lines from an input file into objects of
Record
subclassT
. - parse(Stream<String>) - Method in class com.github.jamesross03.pop_parser.RecordParser
-
Parses all lines from an input stream of CSV data (with headers) into objects of
Record
subclassT
.
R
- Record - Class in com.github.jamesross03.pop_parser.utils
-
Abstract class representing a record.
- Record() - Constructor for class com.github.jamesross03.pop_parser.utils.Record
- RecordFactory<T> - Class in com.github.jamesross03.pop_parser.utils
-
Abstract factory class for making objects of
Record
subclassT
from a line of CSV input. - RecordFactory(RecordFormat) - Constructor for class com.github.jamesross03.pop_parser.utils.RecordFactory
-
Instialises a new instance of a
RecordFactory
subclass for use with a givenRecordFormat
instance. - RecordFormat - Class in com.github.jamesross03.pop_parser.utils
-
Abstract class representing a format of record input.
- RecordFormat() - Constructor for class com.github.jamesross03.pop_parser.utils.RecordFormat
- RecordParser<T> - Class in com.github.jamesross03.pop_parser
-
Parser for CSV input files containing records, where type
T
is a subclass of theRecord
abstract class representing the type of records (e.g birth). - RecordParser(Class<T>, RecordFormat) - Constructor for class com.github.jamesross03.pop_parser.RecordParser
-
Initialises a new instance of
RecordParser
for parsing records of typeT
from input in a given format.
T
- TDFormat - Class in com.github.jamesross03.pop_parser.utils.formats
-
Class representing the TD format of record input, as designed by Tom Dalton (https://github.com/tomsdalton) and generated using the Valipop application (https://github.com/stacs-srg/valipop).
- TDFormat() - Constructor for class com.github.jamesross03.pop_parser.utils.formats.TDFormat
- toString() - Method in class com.github.jamesross03.pop_parser.utils.formats.TDFormat
- toString() - Method in class com.github.jamesross03.pop_parser.utils.formats.UMEAFormat
- toString() - Method in class com.github.jamesross03.pop_parser.utils.Record
- toString() - Method in class com.github.jamesross03.pop_parser.utils.RecordFormat
- toString() - Method in class com.github.jamesross03.pop_parser.utils.records.BirthRecord
U
- UMEAFormat - Class in com.github.jamesross03.pop_parser.utils.formats
-
Class representing the UMEA format of record input, as used in the UMEA Swedish populations dataset.
- UMEAFormat() - Constructor for class com.github.jamesross03.pop_parser.utils.formats.UMEAFormat
All Classes and Interfaces|All Packages