org.odata4j.internal
Class InternalUtil
java.lang.Object
org.odata4j.internal.InternalUtil
public class InternalUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InternalUtil
public InternalUtil()
formatDateTime
public static String formatDateTime(LocalDateTime dateTime)
formatDateTimeOffset
public static String formatDateTimeOffset(DateTime dateTime)
getDataServiceVersion
public static ODataVersion getDataServiceVersion(String headerValue)
getEntityRelId
public static String getEntityRelId(EdmEntitySet entitySet,
OEntityKey entityKey)
getEntityRelId
public static String getEntityRelId(List<String> keyPropertyNames,
List<OProperty<?>> entityProperties,
String entitySetName)
getEntityRelId
public static String getEntityRelId(OEntity oe)
newXMLEventReader
public static XMLEventReader2 newXMLEventReader(Reader reader)
parseDateTime
public static DateTime parseDateTime(String value)
parseTime
public static LocalTime parseTime(String value)
reflectionToString
public static String reflectionToString(Object obj)
sleep
public static void sleep(long millis)
toEntity
public static <T> T toEntity(Class<T> entityType,
OEntity oe)
toPojo
public static <T> T toPojo(Class<T> pojoClass,
OEntity oe)
toString
public static String toString(DateTime utc)
toString
public static String toString(LocalTime time)
http://odata4j.org