Java InputStream Create getInputStream(String fileName)

Here you can find the source of getInputStream(String fileName)

Description

get Input Stream

License

Open Source License

Declaration

public static InputStream getInputStream(String fileName) throws IOException 

Method Source Code


//package com.java2s;

import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;

public class Main {
    public static InputStream getInputStream(String fileName) throws IOException {
        return new FileInputStream(fileName);
    }//from   w  w w  . ja  v  a2s . c o  m
}

Related

  1. getInputStream(final String fileName)
  2. getInputStream(final String sourceFolder, final Class clazz)
  3. getInputStream(String content)
  4. getInputStream(String data)
  5. getInputStream(String fileName)
  6. getInputStream(String fileName)
  7. getInputStream(String filename)
  8. getInputStream(String filename)
  9. getInputStream(String filename)