org.crsh.cli.type
Class ValueTypeFactory
java.lang.Object
org.crsh.cli.type.ValueTypeFactory
public class ValueTypeFactory
- extends Object
A factory for value types.
|
Field Summary |
static ValueTypeFactory |
DEFAULT
A value type factory instance that provides a predefined set of value types. |
|
Constructor Summary |
ValueTypeFactory(ClassLoader loader)
Create a value type factory for the the default value types and the value types that the specified
classloader will load. |
DEFAULT
public static final ValueTypeFactory DEFAULT
- A value type factory instance that provides a predefined set of value types.
ValueTypeFactory
public ValueTypeFactory(ClassLoader loader)
throws NullPointerException
- Create a value type factory for the the default value types and the value types that the specified
classloader will load.
- Parameters:
loader - the loader
- Throws:
NullPointerException - if the loader is null
get
public <T,S extends T> ValueType<T> get(Class<S> clazz)
Copyright © 2015 eXo Platform SAS. All Rights Reserved.