Class RefactorUtil
java.lang.Object
org.eclnt.ccaddons.pbc.refactor.util.RefactorUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
checkToFilePath
(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 String
findNewDependentFileName
(File dependentFile, String fromPath, String toPath) static String
findSearchExtensions
(String filePath) findSearchTextVariants
(String path) static void
static void
updateFile
(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
-