Where is the class com.tridion.util.FileUtils
located in SDL Web 8? When migrating a Custom Deployer from Tridion 2011 to Web 8, I have a lot of code like below:
import com.tridion.util.FileUtils;
import com.tridion.util.StringUtils;
com.tridion.util.FileUtils.writeFile(new File(path, file.getName() + ".xml").getAbsolutePath(), prepareMarkLogicContent(pageMeta, action));
I'm referencing the jar files in but cannot find the writeFile
method on FileUtils
.
C:\SDL\Web\deployer\services\deployer-service
I saw a similar method in the Apache commons-io library, but I'm hoping I don't need to use that one since it also requires a 2nd encoding parameter, and I'd need to update every reference to the Tridion util library.