Class ArlingtonModelLoader

java.lang.Object
org.jpedal.arlington.loader.ArlingtonModelLoader

public final class ArlingtonModelLoader extends Object
Loads a directory of Arlington PDF Model TSV files (e.g. tsv/latest/).
  • 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