com.gisgraphy.importer

## Class FileSpliter

- java.lang.Object
- - com.gisgraphy.importer.FileSpliter

-     public class FileSpliter
      extends Object

  Author:
    David Masclet

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected static org.slf4j.Logger` | `logger` The logger

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `FileSpliter()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `countLines(String filename)`
    `List<File>` | `SplitByLength(File file, int splitlen)`

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

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

- - ### Field Detail

    - #### logger

          protected static final org.slf4j.Logger logger

      The logger

  - ### Constructor Detail

    - #### FileSpliter

          public FileSpliter()

  - ### Method Detail

    - #### countLines

          public int countLines(String filename)

    - #### SplitByLength

          public List<File> SplitByLength(File file,
                                 int splitlen)
                                   throws FileNotFoundException

      Throws:
        `FileNotFoundException`

Copyright © 2015. All rights reserved.