|
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.DataTrimmer
public class DataTrimmer
A simple module that removes elements from vectorial data
| Field Summary |
|---|
| Fields inherited from interface java.beans.BeanInfo |
|---|
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32 |
| Constructor Summary | |
|---|---|
DataTrimmer()
|
|
| Method Summary | |
|---|---|
void |
editBeanInfo(java.beans.BeanInfo info)
|
int |
getFromIndex()
Getter for property fromIndex. |
int |
getToIndex()
Getter for property toIndex. |
static void |
main(java.lang.String[] args)
|
void |
process(Buffer in,
Buffer out)
Data is pulled from imput buffer, processed and pushed into the output buffer. |
void |
setFromIndex(int fromIndex)
Setter for property fromIndex. |
void |
setToIndex(int toIndex)
Setter for property toIndex. |
| 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 DataTrimmer()
| Method Detail |
|---|
public int getFromIndex()
public void setFromIndex(int fromIndex)
fromIndex - New value of property fromIndex. When vectorial data is received,
all values with lower indices are discartedpublic int getToIndex()
public void setToIndex(int toIndex)
toIndex - New value of property toIndex. When vectorial data is received,
all values with equal or higher indices are discarted. A negative index is equivalent
to the length of the input vector.
public void process(Buffer in,
Buffer out)
throws DataProcessorException
DataProcessor
in - Input Bufferout - Output Buffer
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 | |||||||||