Changes since
the last release

com.ebay.sdk
Class SiteIDUtil

java.lang.Object
  extended by com.ebay.sdk.SiteIDUtil

public class SiteIDUtil
extends Object

Utility class the converts between SiteCodeType and eBay numerical Site ID.

Title:

Description:

Copyright: Copyright (c) 2004

Company: eBay Inc.

Version:
1.0
Author:
Weijun Li

Constructor Summary
SiteIDUtil()
           
 
Method Summary
static SiteCodeType fromNumericalID(int siteID)
          Converts eBay site ID to SiteCodeType.
static int toNumericalID(SiteCodeType siteID)
          Convers SiteCodeType to eBay numerical site ID.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SiteIDUtil

public SiteIDUtil()
Method Detail

fromNumericalID

public static SiteCodeType fromNumericalID(int siteID)
Converts eBay site ID to SiteCodeType.

Parameters:
siteID - int
Returns:
SiteCodeType

toNumericalID

public static int toNumericalID(SiteCodeType siteID)
Convers SiteCodeType to eBay numerical site ID.

Parameters:
siteID - SiteCodeType
Returns:
int

Changes since
the last release

The information contained in this document is proprietary and confidential. Use of this information and the eBay API requires a Non-Disclosure Agreement (NDA) between the user and eBay Inc. For information regarding a qualifying NDA, contact Developer Relations: developer-relations@ebay.com
© 2004-2009 eBay Inc. All rights reserved.