public class FHCategoryReader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.ArrayList<FHCategoryEntry> |
categoryEntries |
static java.lang.String |
FHAES_CATEGORY_FILE_HEADER |
static java.lang.String |
FHAES_CATEGORY_FILE_VERSION |
static int |
INDEX_OF_CATEGORY |
static int |
INDEX_OF_CONTENT |
static int |
INDEX_OF_FILENAME |
static int |
INDEX_OF_HEADER |
static int |
INDEX_OF_SERIES_TITLE |
static int |
INDEX_OF_VERSION |
private static org.slf4j.Logger |
log |
private java.lang.String |
nameOfCorrespondingFHXFile |
static int |
NUM_COLUMNS_IN_FILE |
private int |
NUM_INITIAL_VALUES_TO_READ |
Constructor and Description |
---|
FHCategoryReader(java.io.File categoryFile)
Parses the input category file and stores its contents in the categoryEntries arrayList.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<FHCategoryEntry> |
getCategoryEntryList()
Gets the list of category entries which were parsed in by the reader.
|
java.lang.String |
getNameOfCorrespondingFHXFile()
Gets the name of the FHX file which this category file corresponds to.
|
private static final org.slf4j.Logger log
public static final java.lang.String FHAES_CATEGORY_FILE_HEADER
public static final java.lang.String FHAES_CATEGORY_FILE_VERSION
public static final int INDEX_OF_HEADER
public static final int INDEX_OF_VERSION
public static final int INDEX_OF_FILENAME
public static final int INDEX_OF_SERIES_TITLE
public static final int INDEX_OF_CATEGORY
public static final int INDEX_OF_CONTENT
public static final int NUM_COLUMNS_IN_FILE
private final int NUM_INITIAL_VALUES_TO_READ
private final java.util.ArrayList<FHCategoryEntry> categoryEntries
private java.lang.String nameOfCorrespondingFHXFile
public FHCategoryReader(java.io.File categoryFile)
categoryFile
- public java.util.ArrayList<FHCategoryEntry> getCategoryEntryList()
public java.lang.String getNameOfCorrespondingFHXFile()