org.systemsbiology.gaggle.experiment.readers
Class TextHttpIndirectFileReader
java.lang.Object
org.systemsbiology.gaggle.experiment.readers.TextHttpIndirectFileReader
public class TextHttpIndirectFileReader
- extends java.lang.Object
|
Method Summary |
java.lang.String |
getAdjustedUri()
|
static java.lang.String |
getPage(java.lang.String urlString)
|
static java.lang.String |
getPage(java.net.URL url)
|
java.lang.String |
getText()
|
protected void |
init(java.lang.String URI,
java.lang.String user,
java.lang.String password)
|
int |
read()
|
int |
read(java.lang.String uri)
|
java.io.File |
writeToTemporaryFile()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextHttpIndirectFileReader
public TextHttpIndirectFileReader(java.lang.String URI,
java.lang.String _user,
java.lang.String _password)
throws java.lang.Exception
- Throws:
java.lang.Exception
TextHttpIndirectFileReader
public TextHttpIndirectFileReader(java.lang.String URI,
java.lang.String _user,
java.lang.String _password,
boolean debug)
throws java.lang.Exception
- Throws:
java.lang.Exception
TextHttpIndirectFileReader
public TextHttpIndirectFileReader(java.lang.String URI)
throws java.lang.Exception
- Throws:
java.lang.Exception
TextHttpIndirectFileReader
public TextHttpIndirectFileReader(java.lang.String URI,
boolean debug)
throws java.lang.Exception
- Throws:
java.lang.Exception
init
protected void init(java.lang.String URI,
java.lang.String user,
java.lang.String password)
getAdjustedUri
public java.lang.String getAdjustedUri()
read
public int read()
throws java.lang.Exception
- Throws:
java.lang.Exception
read
public int read(java.lang.String uri)
throws java.lang.Exception
- Throws:
java.lang.Exception
getText
public java.lang.String getText()
getPage
public static java.lang.String getPage(java.lang.String urlString)
throws java.lang.Exception
- Throws:
java.lang.Exception
getPage
public static java.lang.String getPage(java.net.URL url)
throws java.lang.Exception
- Throws:
java.lang.Exception
writeToTemporaryFile
public java.io.File writeToTemporaryFile()
throws java.io.IOException
- Throws:
java.io.IOException