gov.bnl.star.offline.scheduler.dataset.datasetManipulators
Class SplitByRegX

java.lang.Object
  extended by gov.bnl.star.offline.scheduler.dataset.datasetManipulators.SplitByRegX
All Implemented Interfaces:
DatasetManipulator

public class SplitByRegX
extends java.lang.Object
implements DatasetManipulator

This class markers the dataset for splitting between non-matching regular expression capture groups in an ordered list

Author:
Levente Hajdu

Constructor Summary
SplitByRegX(java.lang.String splitBy)
          This function takes a an ordered list and splits makes on the boundary of dissimulator regular expression capture groups.
 
Method Summary
 void modify(Dataset dataset, Request request)
          This function takes a an ordered list and splits makes on the boundary of dissimulator regular expression capture groups.
 boolean requirementsSatisfied()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SplitByRegX

public SplitByRegX(java.lang.String splitBy)
This function takes a an ordered list and splits makes on the boundary of dissimulator regular expression capture groups. Example: SplitByRegX("^aaaa(*)aaaaa$") input: aaaaaaaaaa aaaabaaaaa aaaabaaaaa aaaacaaaaa aaaacaaaaa aaaacaaaaa output: aaaaaaaaaa ----split----- aaaabaaaaa aaaabaaaaa ----split----- aaaacaaaaa aaaacaaaaa aaaacaaaaa

Parameters:
splitBy - A expression capture group used to test for boundarys between entries
Method Detail

modify

public void modify(Dataset dataset,
                   Request request)
This function takes a an ordered list and splits makes on the boundary of dissimulator regular expression capture groups.

Specified by:
modify in interface DatasetManipulator
Parameters:
dataset - The dataset to be modifyed
request - The request object of the current request for with will use the dataset

requirementsSatisfied

public boolean requirementsSatisfied()
Specified by:
requirementsSatisfied in interface DatasetManipulator


Copyright © 2002-2004 STAR collaboration - Brookhaven National Laboratory. All Rights Reserved.