org.ow2.dragon.util
Class FileReaderUtil

java.lang.Object
  extended by org.ow2.dragon.util.FileReaderUtil

public class FileReaderUtil
extends java.lang.Object

Author:
ofabre

Constructor Summary
FileReaderUtil()
           
 
Method Summary
static java.util.List<java.lang.String[]> readLines(byte[] file, java.lang.String linePartSeparator)
           
static java.util.List<java.lang.String[]> readLines(java.io.File file, java.lang.String linePartSeparator)
           
static java.util.List<java.lang.String[]> readLines(java.io.InputStream file, java.lang.String linePartSeparator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileReaderUtil

public FileReaderUtil()
Method Detail

readLines

public static java.util.List<java.lang.String[]> readLines(java.io.InputStream file,
                                                           java.lang.String linePartSeparator)
                                                    throws java.io.IOException
Throws:
java.io.IOException

readLines

public static java.util.List<java.lang.String[]> readLines(byte[] file,
                                                           java.lang.String linePartSeparator)
                                                    throws java.io.IOException
Throws:
java.io.IOException

readLines

public static java.util.List<java.lang.String[]> readLines(java.io.File file,
                                                           java.lang.String linePartSeparator)
                                                    throws java.io.FileNotFoundException,
                                                           java.io.IOException
Throws:
java.io.FileNotFoundException
java.io.IOException


Copyright © 2008-2009 eBMWebsourcing. All Rights Reserved.