Package com.emc.object.util
Class ConfigUri<C>
- java.lang.Object
-
- com.emc.object.util.ConfigUri<C>
-
public class ConfigUri<C> extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConfigUri.BooleanPropertyConverter
static class
ConfigUri.FloatPropertyConverter
static class
ConfigUri.IntegerPropertyConverter
static class
ConfigUri.LongPropertyConverter
static interface
ConfigUri.PropertyConverter
static class
ConfigUri.StringPropertyConverter
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
generateUri(C object)
java.lang.String
generateUri(C object, C defaultObject)
C
parseUri(java.lang.String configUri)
C
parseUri(java.lang.String configUri, C defaults)
C
parseUri(java.lang.String configUri, C defaultObject, boolean strict)
static void
registerConverter(java.lang.Class<?> type, ConfigUri.PropertyConverter converter)
-
-
-
Constructor Detail
-
ConfigUri
public ConfigUri(java.lang.Class<C> targetClass)
-
-
Method Detail
-
registerConverter
public static void registerConverter(java.lang.Class<?> type, ConfigUri.PropertyConverter converter)
-
parseUri
public C parseUri(java.lang.String configUri)
-
generateUri
public java.lang.String generateUri(C object)
-
-