Package org.apache.tapestry5.versionmigrator

## Interface FileRefactorCommitParser

- All Superinterfaces:
    `java.util.function.Function<java.lang.String,​java.util.Optional<ClassRefactor>>`
  All Known Implementing Classes:
    `ArtifactChangeRefactorCommitParser`, `PackageAndArtifactChangeRefactorCommitParser`, `PackageChangeRefactorCommitParser`

      public interface FileRefactorCommitParser
      extends java.util.function.Function<java.lang.String,​java.util.Optional<ClassRefactor>>

  Interface that defines a file refactor parser.

- - ### Method Summary

    Static Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static java.lang.String` | `buildClassName​(java.lang.String rootPackageName, java.lang.String packageNameSuffix, java.lang.String className)` | Builds a class name given some parts.
    `static java.lang.String` | `extractPackageOrClassName​(java.lang.String string)` | Extracts a package or class name from a string which may contain `src/main/java/` or `src/test/java/`

    - ### Methods inherited from interface java.util.function.Function

      `andThen, apply, compose`

- - ### Method Detail

    - #### extractPackageOrClassName

          static java.lang.String extractPackageOrClassName​(java.lang.String string)

      Extracts a package or class name from a string which may contain `src/main/java/` or `src/test/java/`

    - #### buildClassName

          static java.lang.String buildClassName​(java.lang.String rootPackageName,
                                                 java.lang.String packageNameSuffix,
                                                 java.lang.String className)

      Builds a class name given some parts.