com.thoughtworks.xstream.core
Class JVM

java.lang.Object
  extended by com.thoughtworks.xstream.core.JVM
All Implemented Interfaces:
Caching

public class JVM
extends Object
implements Caching


Constructor Summary
JVM()
           
 
Method Summary
 ReflectionProvider bestReflectionProvider()
           
static boolean canParseUTCDateFormat()
           
 void flushCache()
           
static boolean hasOptimizedTreeMapPutAll()
          Checks if TreeMap.putAll is optimized for SortedMap argument.
static boolean hasOptimizedTreeSetAddAll()
          Checks if TreeSet.addAll is optimized for SortedSet argument.
static boolean is14()
          Deprecated. As of 1.4.4, minimal JDK version is 1.4 already
static boolean is15()
          Deprecated. As of 1.4.4, minimal JDK version will be 1.6 for next major release
static boolean is16()
          Deprecated. As of 1.4.4, minimal JDK version will be 1.6 for next major release
static boolean is17()
           
static boolean is18()
           
 Class loadClass(String name)
           
 Class loadClass(String name, boolean initialize)
           
static void main(String[] args)
           
static boolean reverseFieldDefinition()
           
 boolean supportsAWT()
          Checks if the jvm supports awt.
 boolean supportsSQL()
          Checks if the jvm supports sql.
 boolean supportsSwing()
          Checks if the jvm supports swing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JVM

public JVM()
Method Detail

is14

public static boolean is14()
Deprecated. As of 1.4.4, minimal JDK version is 1.4 already


is15

public static boolean is15()
Deprecated. As of 1.4.4, minimal JDK version will be 1.6 for next major release


is16

public static boolean is16()
Deprecated. As of 1.4.4, minimal JDK version will be 1.6 for next major release


is17

public static boolean is17()
Since:
1.4

is18

public static boolean is18()
Since:
1.4

loadClass

public Class loadClass(String name)

loadClass

public Class loadClass(String name,
                       boolean initialize)
Since:
1.4.4

bestReflectionProvider

public ReflectionProvider bestReflectionProvider()

reverseFieldDefinition

public static boolean reverseFieldDefinition()

supportsAWT

public boolean supportsAWT()
Checks if the jvm supports awt.


supportsSwing

public boolean supportsSwing()
Checks if the jvm supports swing.


supportsSQL

public boolean supportsSQL()
Checks if the jvm supports sql.


hasOptimizedTreeSetAddAll

public static boolean hasOptimizedTreeSetAddAll()
Checks if TreeSet.addAll is optimized for SortedSet argument.

Since:
1.4

hasOptimizedTreeMapPutAll

public static boolean hasOptimizedTreeMapPutAll()
Checks if TreeMap.putAll is optimized for SortedMap argument.

Since:
1.4

canParseUTCDateFormat

public static boolean canParseUTCDateFormat()

flushCache

public void flushCache()
Specified by:
flushCache in interface Caching

main

public static void main(String[] args)


Copyright © 2004-2014 XStream. All Rights Reserved.