com.gisgraphy.importer
Class FileSpliter

java.lang.Object
  extended by com.gisgraphy.importer.FileSpliter

public class FileSpliter
extends Object

Author:
David Masclet

Field Summary
protected static org.slf4j.Logger logger
          The logger
 
Constructor Summary
FileSpliter()
           
 
Method Summary
 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 © 2012. All Rights Reserved.