public class PReader extends Object implements Serializable
Constructor and Description |
---|
PReader() |
Modifier and Type | Method and Description |
---|---|
static BufferedReader |
read(File sfile)
Read from a file.
|
static BufferedReader |
read(String sfile)
Read data from a given location.
|
static BufferedReader |
read(URL url)
Read data from URL.
|
static BufferedReader |
readGZip(File sfile)
Read data from a gzipped file (GNU gzip/gunzip commands in linux)
|
static BufferedReader |
readGZip(String sfile)
Read data from either URL or file
|
static BufferedReader |
readGZip(URL url)
Read data from URL.
|
public static BufferedReader readGZip(File sfile)
sfile
- File name with input (extension .gz)public static BufferedReader read(URL url)
url
- URL location of input filepublic static BufferedReader read(File sfile)
sfile
- input filepublic static BufferedReader read(String sfile)
sfile
- File name or URL with inputpublic static BufferedReader readGZip(URL url)
url
- URL location of input filepublic static BufferedReader readGZip(String sfile)
sfile
- can be either URL or a file locationJas4pp 1.5 © Java Analysis Studio for Particle Physics