类 InfraZipCopyAction.Processor

java.lang.Object
cn.taketoday.gradle.tasks.bundling.InfraZipCopyAction.Processor
封闭类:
InfraZipCopyAction

private class InfraZipCopyAction.Processor extends Object
Internal process used to copy file details to the zip file.
  • 字段详细资料

    • out

      private final org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream out
    • layerIndex

      private final cn.taketoday.app.loader.tools.LayersIndex layerIndex
    • writtenLoaderEntries

      private LoaderZipEntries.WrittenEntries writtenLoaderEntries
    • writtenDirectories

      private final Set<String> writtenDirectories
    • writtenLibraries

      private final Map<String,org.gradle.api.file.FileCopyDetails> writtenLibraries
    • reachabilityMetadataProperties

      private final Map<String,org.gradle.api.file.FileCopyDetails> reachabilityMetadataProperties
  • 构造器详细资料

    • Processor

      Processor(org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream out)
  • 方法详细资料

    • process

      void process(org.gradle.api.file.FileCopyDetails details)
    • skipProcessing

      private boolean skipProcessing(org.gradle.api.file.FileCopyDetails details)
    • processDirectory

      private void processDirectory(org.gradle.api.file.FileCopyDetails details) throws IOException
      抛出:
      IOException
    • processFile

      private void processFile(org.gradle.api.file.FileCopyDetails details) throws IOException
      抛出:
      IOException
    • writeParentDirectoriesIfNecessary

      private void writeParentDirectoriesIfNecessary(String name, Long time) throws IOException
      抛出:
      IOException
    • getParentDirectory

      private String getParentDirectory(String name)
    • finish

      void finish() throws IOException
      抛出:
      IOException
    • writeLoaderEntriesIfNecessary

      private void writeLoaderEntriesIfNecessary(org.gradle.api.file.FileCopyDetails details) throws IOException
      抛出:
      IOException
    • isInMetaInf

      private boolean isInMetaInf(org.gradle.api.file.FileCopyDetails details)
    • writeJarToolsIfNecessary

      private void writeJarToolsIfNecessary() throws IOException
      抛出:
      IOException
    • writeJarModeLibrary

      private void writeJarModeLibrary(String location, cn.taketoday.app.loader.tools.JarModeLibrary library) throws IOException
      抛出:
      IOException
    • writeClassPathIndexIfNecessary

      private void writeClassPathIndexIfNecessary() throws IOException
      抛出:
      IOException
    • writeNativeImageArgFileIfNecessary

      private void writeNativeImageArgFileIfNecessary() throws IOException
      抛出:
      IOException
    • writeLayersIndexIfNecessary

      private void writeLayersIndexIfNecessary() throws IOException
      抛出:
      IOException
    • writeEntry

      private void writeEntry(String name, InfraZipCopyAction.ZipEntryContentWriter entryWriter, boolean addToLayerIndex) throws IOException
      抛出:
      IOException
    • writeEntry

      private void writeEntry(String name, InfraZipCopyAction.ZipEntryContentWriter entryWriter, boolean addToLayerIndex, InfraZipCopyAction.ZipEntryCustomizer entryCustomizer) throws IOException
      抛出:
      IOException
    • prepareEntry

      private void prepareEntry(org.apache.commons.compress.archivers.zip.ZipArchiveEntry entry, String name, Long time, int mode) throws IOException
      抛出:
      IOException
    • prepareStoredEntry

      private void prepareStoredEntry(org.gradle.api.file.FileCopyDetails details, org.apache.commons.compress.archivers.zip.ZipArchiveEntry archiveEntry) throws IOException
      抛出:
      IOException
    • prepareStoredEntry

      private void prepareStoredEntry(InputStream input, org.apache.commons.compress.archivers.zip.ZipArchiveEntry archiveEntry) throws IOException
      抛出:
      IOException
    • getTime

      private Long getTime()
    • getTime

      private Long getTime(org.gradle.api.file.FileCopyDetails details)
    • getDirMode

      private int getDirMode()
    • getFileMode

      private int getFileMode()
    • getFileMode

      private int getFileMode(org.gradle.api.file.FileCopyDetails details)