NetCharts Server

chartworks.es.plugin
Class NDSDataFilter

java.lang.Object
  |
  +--chartworks.es.plugin.NDSDataFilter

public class NDSDataFilter
extends java.lang.Object

Used to filter rows and columns of data.


Constructor Summary
NDSDataFilter(java.lang.String filter, int maxIndex)
          Constructs a filter to be used for testing.
NDSDataFilter(java.lang.String rowfilter, java.lang.String colfilter)
          Constructs a filter to be used for filtering data.
 
Method Summary
 java.lang.Object[][] filterData(java.lang.Object[][] dataIn)
          Filters input data and returns a new 2D object array of the filtered data.
 boolean testFilter(int index)
          Checks to see if the given index is within the test filter's range
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NDSDataFilter

public NDSDataFilter(java.lang.String rowfilter,
                     java.lang.String colfilter)
Constructs a filter to be used for filtering data.
Parameters:
rowfilter - The row filter
colfilter - The column filter

NDSDataFilter

public NDSDataFilter(java.lang.String filter,
                     int maxIndex)
Constructs a filter to be used for testing.
Parameters:
testFilter - The test filter
Method Detail

testFilter

public boolean testFilter(int index)
Checks to see if the given index is within the test filter's range
Parameters:
index - Value to be tested
Returns:
true if index is within the test filter range

filterData

public java.lang.Object[][] filterData(java.lang.Object[][] dataIn)
Filters input data and returns a new 2D object array of the filtered data.

NetCharts Server


Visual Mining, Inc.
15825 Shady Grove Rd.
Suite 20
Rockville, MD 20850
800.308.0731
301.947.8293 FAX

Copyright © Visual Mining, Inc. 1996 - 2004
All Rights Reserved.

NetCharts Server TM is a registered trademark of Visual Mining, Inc. Other brands and their products are trademarks of their respective holders.

Last Modified: Aug 3, 2004