Interface ExploderFileProcessor


  • public interface ExploderFileProcessor
    • Method Detail

      • processFile

        void processFile​(File baseDir,
                         File file)
                  throws InternalException
        Perform arbitrary processing upon a standard file after unpacking and decompression.
        Parameters:
        baseDir - the base temporary folder from which the zip/jar/ear/war/etc was unzipped
        file - file to process
        Throws:
        InternalException - if the processing reports an error. This will abort the unpackEntryPoint/decompress.
      • getVirtualPath

        default String getVirtualPath​(File baseDir,
                                      File target)
        Return the virtual path from the top level to the target location removing any temporary 'unpacked' markers. This is not a valid file system path.
        Parameters:
        baseDir - the top level working directory
        target - the target file
        Returns:
        the virtual path string.