Interface ITextResourceRefactorer


  • public interface ITextResourceRefactorer
    Refactor handler for plain text resources.
    Since:
    7.0.0
    Author:
    XIMA MEDIA GmbH
    • Method Detail

      • getSupportedFileExtensions

        Set<String> getSupportedFileExtensions()
        Returns:
        Extensions supported by this refactorer.
      • refactor

        String refactor​(String fileName,
                        String content)
        Parameters:
        fileName - File name of the file to process.
        content - Plain text content of the file.
        Returns:
        Replaced file content. null or the same as the input when no change needs to be made.