com.partnersoft.maps.tools
Class ScrambleData

java.lang.Object
  extended by com.partnersoft.maps.tools.ScrambleData

public class ScrambleData
extends java.lang.Object

Scrambles selected data in a mapset. Useful for munging customer data before giving it out for demos etc. Configuration is via the file config/customer/misc/ScrambleData.xml, and looks something like the following:

  <?xml version='1.0' encoding='US-ASCII'?>
  <naming>
  <entry name='arc:consumer'>
  <list>
  <entry>
  <value>Name</value>
  </entry>
  <entry>
  <value>Phone</value>
  </entry>
  </list>
  </entry>
  </naming>
 
This example will scramble the Name and Phone fields in the arc:consumer data type. It tries to be smart about the format, mixing and matching first and last names, and makes up sequenced phone numbers.

Author:
Paul Reavis Copyright 2005 Partner Software, Inc.

Constructor Summary
ScrambleData()
           
 
Method Summary
 void runImp()
           
 void startupImp()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScrambleData

public ScrambleData()
Method Detail

startupImp

public void startupImp()
                throws java.lang.Exception
Throws:
java.lang.Exception

runImp

public void runImp()
            throws java.lang.Exception
Throws:
java.lang.Exception