org.odata4j.internal
Class InternalUtil
java.lang.Object
   org.odata4j.internal.InternalUtil
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 | 
 
COPY_BUFFER_SIZE
public static final int COPY_BUFFER_SIZE
- See Also:
- Constant Field Values
InternalUtil
public InternalUtil()
copyInputToOutput
public static void copyInputToOutput(InputStream inStream,
                                     OutputStream outStream)
                              throws IOException
- 
- Throws:
- IOException
 
formatDateTimeForJson
public static String formatDateTimeForJson(LocalDateTime localDateTime)
- 
 
formatDateTimeForXml
public static String formatDateTimeForXml(LocalDateTime localDateTime)
- 
 
formatDateTimeOffsetForJson
public static String formatDateTimeOffsetForJson(DateTime dateTime)
- 
 
formatDateTimeOffsetForXml
public static String formatDateTimeOffsetForXml(DateTime dateTime)
- 
 
formatTimeForJson
public static String formatTimeForJson(LocalTime localTime)
- 
 
formatTimeForXml
public static String formatTimeForXml(LocalTime localTime)
- 
 
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)
- 
 
parseDateTimeFromJson
public static LocalDateTime parseDateTimeFromJson(String value)
- 
 
parseDateTimeFromXml
public static LocalDateTime parseDateTimeFromXml(String value)
- 
 
parseDateTimeOffsetFromJson
public static DateTime parseDateTimeOffsetFromJson(String value)
- 
 
parseDateTimeOffsetFromXml
public static DateTime parseDateTimeOffsetFromXml(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)
- 
 
http://odata4j.org