|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjhplot.io.PReader
public class PReader
Some generic methods to read data and to return BufferedReader.
| Constructor Summary | |
|---|---|
PReader()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PReader()
| Method Detail |
|---|
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 file
public static BufferedReader read(String sfile)
sfile - File name or URL with input
public static BufferedReader readGZip(URL url)
url - URL location of input filepublic static BufferedReader readGZip(String sfile)
sfile - can be either URL or a file location
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||