How to aplay pivot on Excel file in process studio

How to apply pivot on Excel files in process studio ,is any step available to apply pivot ?

As per our requirement, we have designed a custom java class and placed that into user defined java class. You can in implement this way.
Reply in case you need any help!