|
Changes since the last release |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ebay.sdk.util.eBayUtil
public class eBayUtil
Contains utilities for eBay API.
Title:
Description:
Copyright: Copyright (c) 2004
Company: eBay Inc.
Constructor Summary | |
---|---|
eBayUtil()
|
Method Summary | |
---|---|
static String |
convertInputStreamToString(InputStream inStrm)
|
static FeeType |
findFeeByName(FeeType[] fees,
String feeName)
Find fees from FeeType array. |
static Date |
fromAPITimeString(String strDate)
Parse date from eBay API date string. |
static Date |
fromAPITimeString(String strDate,
String format,
String timeZone)
|
static String |
getFullPathOfClass(Class cls)
|
static String |
intToString(int i)
Deprecated. use String.valueOf(i) |
static boolean |
isNonZeroString(String s)
Determines if a string length >= 1. |
static void |
sortCategoryArray(CategoryType[] cats,
int sortBy,
boolean ascending)
Sorts a category array. |
static String |
toAPITimeString(Date date)
Converts date to eBay API date string. |
static String |
toAPITimeString(Date date,
String format,
String timeZone)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public eBayUtil()
Method Detail |
---|
public static String toAPITimeString(Date date, String format, String timeZone)
date
- Dateformat
- StringtimeZone
- String
public static String toAPITimeString(Date date)
date
- Date
public static Date fromAPITimeString(String strDate, String format, String timeZone) throws ParseException
strDate
- Stringformat
- StringtimeZone
- String
ParseException
public static Date fromAPITimeString(String strDate) throws ParseException
strDate
- String
ParseException
public static FeeType findFeeByName(FeeType[] fees, String feeName)
fees
- FeeType[]feeName
- String
public static String convertInputStreamToString(InputStream inStrm) throws IOException
inStrm
- InputStream
IOException
public static boolean isNonZeroString(String s)
s
- String
public static String intToString(int i)
i
- int
public static void sortCategoryArray(CategoryType[] cats, int sortBy, boolean ascending) throws Exception
cats
- CategoryType[]sortBy
- intascending
- boolean Sorts in ascending order.
Exception
public static String getFullPathOfClass(Class cls)
|
Changes since the last release |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.