com.pluraprocessing.node.affiliate.desktop
Class PluraUtility

java.lang.Object
  extended by com.pluraprocessing.node.affiliate.desktop.PluraUtility

public class PluraUtility
extends java.lang.Object

Class PluraUtility.


Constructor Summary
PluraUtility()
           
 
Method Summary
static java.lang.String validateAffiliateId(java.lang.String affiliateId)
          Tests that a given String is a valid Plura affiliate id.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluraUtility

public PluraUtility()
Method Detail

validateAffiliateId

public static java.lang.String validateAffiliateId(java.lang.String affiliateId)
                                            throws PluraIOException
Tests that a given String is a valid Plura affiliate id.

Parameters:
affiliateId - The affiliate id to validate.
Returns:
The name associated with the given affiliate id, or empty string if the affiliate id is invalid.
Throws:
PluraIOException - If there is a problem communicating with Plura's servers.