Package org.citrusframework.spi
Class StringToResourceConverter
java.lang.Object
org.citrusframework.spi.StringToResourceConverter
- All Implemented Interfaces:
org.springframework.core.convert.converter.ConditionalConverter,org.springframework.core.convert.converter.Converter<String,org.citrusframework.spi.Resource>
public class StringToResourceConverter
extends Object
implements org.springframework.core.convert.converter.Converter<String,org.citrusframework.spi.Resource>, org.springframework.core.convert.converter.ConditionalConverter
Spring bean converter able to construct proper Citrus resource object from given file path as String.
-
Constructor Details
-
StringToResourceConverter
public StringToResourceConverter()
-
-
Method Details
-
convert
- Specified by:
convertin interfaceorg.springframework.core.convert.converter.Converter<String,org.citrusframework.spi.Resource>
-
matches
public boolean matches(org.springframework.core.convert.TypeDescriptor sourceType, org.springframework.core.convert.TypeDescriptor targetType) - Specified by:
matchesin interfaceorg.springframework.core.convert.converter.ConditionalConverter
-