Top Description Constructors Methods
com.univocity.parsers.conversions

public Class UpperCaseConversion

extends Object
implements Conversion<String, String>
Class Inheritance
All Implemented Interfaces
com.univocity.parsers.conversions.Conversion

Converts an input String to its upper case representation The UpperCaseConversion#revert(String) implements the same behavior of UpperCaseConversion#execute(String). Null inputs produce null outputs.
Author
Univocity Software Pty Ltd - [email protected]

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the upper case representation of the given input, or null if the input is null.
execute
(String
the String to be converted to upper case
input
)

Implements com.univocity.parsers.conversions.Conversion.execute.

Applies the toUpperCase operation in the input and returns the result.
public String

Returns:

the upper case representation of the given input, or null if the input is null.
revert
(String
the String to be converted to upper case
input
)

Implements com.univocity.parsers.conversions.Conversion.revert.

Applies the toUpperCase operation in the input and returns the result.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

UpperCaseConversionback to summary
public UpperCaseConversion()

Method Detail

executeback to summary
public String execute(String input)

Implements com.univocity.parsers.conversions.Conversion.execute.

Applies the toUpperCase operation in the input and returns the result. Equivalent to UpperCaseConversion#revert(String)

Parameters
input:String

the String to be converted to upper case

Returns:String

the upper case representation of the given input, or null if the input is null.

Annotations
@Override
revertback to summary
public String revert(String input)

Implements com.univocity.parsers.conversions.Conversion.revert.

Applies the toUpperCase operation in the input and returns the result. Equivalent to UpperCaseConversion#execute(String)

Parameters
input:String

the String to be converted to upper case

Returns:String

the upper case representation of the given input, or null if the input is null.

Annotations
@Override