Java InputStream Create inputStream(String path)

Here you can find the source of inputStream(String path)

Description

input Stream

License

Open Source License

Declaration

public static InputStream inputStream(String path) throws FileNotFoundException 

Method Source Code


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

import java.io.*;

public class Main {
    public static InputStream inputStream(String path) throws FileNotFoundException {
        return new BufferedInputStream(new FileInputStream(path));
    }//from  ww  w. ja v  a 2 s  . com
}

Related

  1. getInputStream(String... subpaths)
  2. getInputStream(String[] args)
  3. inputStream(final File file)
  4. inputStream(final String in)
  5. inputStream(String fileName)
  6. inputStreamFromPath(String path)
  7. InputStreamFromString(String str)
  8. newInputStream(Class clazz, String filename)
  9. newInputStreamReader(InputStream is)