Package org.jpedal.arlington.loader
Class ArlingtonModelLoader
java.lang.Object
org.jpedal.arlington.loader.ArlingtonModelLoader
Loads a directory of Arlington PDF Model TSV files (e.g.
tsv/latest/).-
Method Summary
Modifier and TypeMethodDescriptionLoad TSV files from a filesystem directory.loadClasspath(String resourceDirectory) Load TSV files from a classpath resource.
-
Method Details
-
load
public static Map<String,org.jpedal.arlington.model.ArlingtonObject> load(Path tsvDir) throws IOException Load TSV files from a filesystem directory.- Parameters:
tsvDir- the directory containing the TSV files- Returns:
- the loaded Arlington objects
- Throws:
IOException- if reading fails
-
loadClasspath
public static Map<String,org.jpedal.arlington.model.ArlingtonObject> loadClasspath(String resourceDirectory) throws IOException Load TSV files from a classpath resource.- Parameters:
resourceDirectory- the directory containing the TSV files- Returns:
- the loaded Arlington objects
- Throws:
IOException- if reading fails
-