Java InputStreamReader Read readFile(final String aFileName)

Here you can find the source of readFile(final String aFileName)

Description

read File

License

Open Source License

Declaration

private static final BufferedReader readFile(final String aFileName) throws IOException 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import java.io.*;

public class Main {
    private static final BufferedReader readFile(final String aFileName) throws IOException {
        final InputStream stream = new FileInputStream(aFileName);
        return new BufferedReader(new InputStreamReader(stream));
    }/*from   w w  w  .  j  a  v  a 2 s  .c  om*/
}

Related

  1. readFile(File resultFile)
  2. readFile(File target)
  3. readFile(FileInputStream file)
  4. readFile(final File file)
  5. readFile(final File inputFile)
  6. readFile(final String path)
  7. readFile(IFile file)
  8. readFile(IFile theFile)
  9. readFile(InputStream aStream)