com.harukizaemon.simian

## Class FileLoader

- java.lang.Object
- - com.harukizaemon.simian.FileLoader

-     public final class FileLoader
      extends java.lang.Object

  Loads files into a checker. Instances can be re-used to load multiple successive files into the same checker.
  Author:
    Simon Harris

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FileLoader(StreamLoader streamLoader)` Constructor.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `load(java.io.File file)` Loads a single file.
    `void` | `load(java.io.File[] files)` Loads an array of files.
    `void` | `load(java.lang.String filename)` Loads a single file.
    `void` | `load(java.lang.String[] filenames)` Loads an array of files.

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### FileLoader

          public FileLoader(StreamLoader streamLoader)

      Constructor.
      Parameters:
        `streamLoader` -

  - ### Method Detail

    - #### load

          public void load(java.io.File file)
                    throws java.io.IOException

      Loads a single file.
      Parameters:
        `file` - The file.
      Throws:
        `java.io.IOException` - if an error occurs loading the file.

    - #### load

          public void load(java.io.File[] files)
                    throws java.io.IOException

      Loads an array of files.
      Parameters:
        `files` - The files.
      Throws:
        `java.io.IOException` - if an error occurs loading the file.

    - #### load

          public void load(java.lang.String[] filenames)
                    throws java.io.IOException

      Loads an array of files.
      Parameters:
        `filenames` - The file names.
      Throws:
        `java.io.IOException` - if an error occurs loading the file.

    - #### load

          public void load(java.lang.String filename)
                    throws java.io.IOException

      Loads a single file.
      Parameters:
        `filename` - The file name.
      Throws:
        `java.io.IOException` - if an error occurs loading the file.

Copyright (c) 2003-2013 Simon Harris. All rights reserved.