public class PReader
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
PReader() |
| Modifier and Type | Method and Description |
|---|---|
static java.io.BufferedReader |
read(java.io.File sfile)
Read from a file.
|
static java.io.BufferedReader |
read(java.lang.String sfile)
Read data from a given location.
|
static java.io.BufferedReader |
read(java.net.URL url)
Read data from URL.
|
static java.io.BufferedReader |
readGZip(java.io.File sfile)
Read data from a gzipped file (GNU gzip/gunzip commands in linux)
|
static java.io.BufferedReader |
readGZip(java.lang.String sfile)
Read data from either URL or file
|
static java.io.BufferedReader |
readGZip(java.net.URL url)
Read data from URL.
|
public static java.io.BufferedReader readGZip(java.io.File sfile)
sfile - File name with input (extension .gz)public static java.io.BufferedReader read(java.net.URL url)
url - URL location of input filepublic static java.io.BufferedReader read(java.io.File sfile)
sfile - input filepublic static java.io.BufferedReader read(java.lang.String sfile)
sfile - File name or URL with inputpublic static java.io.BufferedReader readGZip(java.net.URL url)
url - URL location of input filepublic static java.io.BufferedReader readGZip(java.lang.String sfile)
sfile - can be either URL or a file locationJHepSim. A part of HSTOOLS. version-1.2