# Class LFileModels

java.lang.Object
com.io7m.laurel.filemodel.LFileModels

public final class LFileModels extends Object
The file models.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static LFileModelImportType`
  `createImport(Path directory, Path outputFile)`
  Create a file model import operation.
  `static LFileModelType`
  `open(Path file, boolean readOnly)`
  Open a file model.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### open

    public static LFileModelType open(Path file, boolean readOnly) throws LException
    Open a file model.
    Parameters:
      `file` - The file
      `readOnly` - `true` if the file should be read-only
    Returns:
      A file model
    Throws:
      `LException` - On errors

  - ### createImport

    public static LFileModelImportType createImport(Path directory, Path outputFile)
    Create a file model import operation.
    Parameters:
      `directory` - The import directory
      `outputFile` - The output file
    Returns:
      An import operation