# Can I access a Java function in a Reformat component?

**URL:** <https://forum.cloverdx.com/t/can-i-access-a-java-function-in-a-reformat-component/781>\
**Category:** CloverDX Platform\
**Created:** [November 17, 2010, 12:00am UTC](https://forum.cloverdx.com/t/can-i-access-a-java-function-in-a-reformat-component/781 "2010-11-17T00:00:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mnorthup](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.cloverdx.com/mnorthup/32/73_2.png) [@mnorthup](https://forum.cloverdx.com/u/mnorthup)\
**Post date:** [November 17, 2010, 12:00am UTC](https://forum.cloverdx.com/t/can-i-access-a-java-function-in-a-reformat-component/781/1 "2010-11-17T00:00:00Z")

</div>

I am reading a database table and must decrypt a field in the record and then update the table. I have a DBInput, Reformat, and DBOutput but not sure how to execute the decryption function contained in a locally provided jar file.

Can this be done within the Reformat component?

Thanks for the help… I am new to CloverETL.

---

<div class="post-metadata">

**Author:** ![avackova](https://avatars.discourse-cdn.com/v4/letter/a/65b543/32.png) [@avackova](https://forum.cloverdx.com/u/avackova)\
**Post date:** [November 18, 2010, 2:58pm UTC](https://forum.cloverdx.com/t/can-i-access-a-java-function-in-a-reformat-component/781/2 "2010-11-18T14:58:51Z")

</div>

Yes, just set the _transformClass_ attribute. The jar file containing the function must be set in the class-path. See also example SimpleExamples/graph/graphOrdersReformat.grf, that can be downloaded from [http://sourceforge.net/projects/clovere … p/download](http://sourceforge.net/projects/cloveretl/files/cloveretl.engine/rel-3-0-1/cloverETL.examples.rel-3-0-1.zip/download)
