Class RefactorUtil
java.lang.Object
org.eclnt.ccaddons.pbc.refactor.util.RefactorUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringcheckToFilePath(String from, String to) findDependentFiles(List<String> directories, String filePathDirectory, String filePath) Dependent files are:
1. in the same path directory as original. 2. have same file name without extension or have file name with "_" + propertiesstatic StringfindNewDependentFileName(File dependentFile, String fromPath, String toPath) static StringfindSearchExtensions(String filePath) findSearchTextVariants(String path) static voidstatic voidupdateFile(File file, String filePath, String newFilePath)
-
Constructor Details
-
RefactorUtil
public RefactorUtil()
-
-
Method Details
-
findPath
-
findNewDependentFileName
-
findDependentFiles
public static List<File> findDependentFiles(List<String> directories, String filePathDirectory, String filePath) Dependent files are:
1. in the same path directory as original. 2. have same file name without extension or have file name with "_" + properties -
checkToFilePath
-
findSearchExtensions
-
findSearchTextVariants
-
updateFile
-
moveFile
-