Class DecomposedPath


  • @Immutable
    public class DecomposedPath
    extends Object
    Encapsulates the components of a checked file path.
    • Constructor Detail

      • DecomposedPath

        public DecomposedPath​(@Nonnull
                              String pModulePath,
                              @Nonnull
                              String pMdlPath,
                              @Nonnull
                              String pSpecificPath,
                              @Nonnull
                              String pSimpleFilename,
                              @Nonnull
                              Set<String> pFileExtensions,
                              @Nonnull
                              List<String> pSpecificFolders)
        Constructor.
        Parameters:
        pModulePath - the module path, for example subsystem1/module1
        pMdlPath - the MDL path, for example src/main/java
        pSpecificPath - the specific path, for example com/acme/Foo.java
        pSimpleFilename - the simple file name, for example Foo.java
        pFileExtensions - the list of file extensions, for example java, but it could be a list if multiple dots are present (e.g. tar.gz, gz)
        pSpecificFolders - the simple names of all folders on the specific path, for example com, acme