pops.ale.epc.spec.grouping.string
Class Groups

java.lang.Object
  extended by pops.ale.epc.spec.grouping.string.Groups

public class Groups
extends java.lang.Object

Example of building groups from incoming epc tags.


Constructor Summary
Groups()
          Constructor
Groups(GroupPattern[] gPattern)
          Constructor from an array of patterns
 
Method Summary
 boolean addEpc(Epc epc)
          Adds an epc string to one of the groups in the hash table
 void addGroupPattern(GroupPattern gPattern)
           
 void addGroupPattern(java.lang.String gPatternUri)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Groups

public Groups()
Constructor


Groups

public Groups(GroupPattern[] gPattern)
       throws java.lang.IllegalArgumentException
Constructor from an array of patterns

Throws:
java.lang.IllegalArgumentException
Method Detail

addGroupPattern

public void addGroupPattern(GroupPattern gPattern)
                     throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

addGroupPattern

public void addGroupPattern(java.lang.String gPatternUri)
                     throws java.lang.IllegalArgumentException
Parameters:
gPatternUri -
Throws:
java.lang.IllegalArgumentException

addEpc

public boolean addEpc(Epc epc)
Adds an epc string to one of the groups in the hash table

Parameters:
epc -
Returns:

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception