|
Sautrela | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.gtts.sautrela.engine.AbstractDataProcessor
edu.gtts.sautrela.engine.util.StreamReader
public class StreamReader
| Field Summary |
|---|
| Fields inherited from interface java.beans.BeanInfo |
|---|
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32 |
| Constructor Summary | |
|---|---|
StreamReader()
Creates a new instance of StreamReader |
|
| Method Summary | |
|---|---|
void |
editBeanInfo(java.beans.BeanInfo info)
|
java.net.URL |
getUrl()
Getter for property url. |
boolean |
isBinary()
Getter for property binary. |
static void |
main(java.lang.String[] args)
|
void |
process(Buffer forgetme,
Buffer out)
Data is pulled from imput buffer, processed and pushed into the output buffer. |
static java.util.ArrayList<Data> |
readStream(java.net.URL url,
boolean binary)
|
void |
setBinary(boolean binary)
Setter for property binary. |
void |
setUrl(java.net.URL url)
Setter for property url. |
| Methods inherited from class edu.gtts.sautrela.engine.AbstractDataProcessor |
|---|
getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getName, getPropertyDescriptors, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StreamReader()
| Method Detail |
|---|
public void process(Buffer forgetme,
Buffer out)
throws DataProcessorException
DataProcessor
forgetme - Input Bufferout - Output Buffer
DataProcessorExceptionpublic java.net.URL getUrl()
public void setUrl(java.net.URL url)
url - New value of property url.public boolean isBinary()
public void setBinary(boolean binary)
binary - New value of property binary.
public static java.util.ArrayList<Data> readStream(java.net.URL url,
boolean binary)
throws DataProcessorException
DataProcessorExceptionpublic void editBeanInfo(java.beans.BeanInfo info)
editBeanInfo in class AbstractDataProcessor
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception
|
Sautrela | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||