类 InfraZipCopyAction.Processor
java.lang.Object
cn.taketoday.gradle.tasks.bundling.InfraZipCopyAction.Processor
- 封闭类:
- InfraZipCopyAction
Internal process used to copy
file details to the zip file.-
字段概要
字段修饰符和类型字段说明private final cn.taketoday.app.loader.tools.LayersIndexprivate final org.apache.commons.compress.archivers.zip.ZipArchiveOutputStreamprivate LoaderZipEntries.WrittenEntries -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明(专用程序包) voidfinish()private intprivate intprivate intgetFileMode(org.gradle.api.file.FileCopyDetails details) private StringgetParentDirectory(String name) private LonggetTime()private LonggetTime(org.gradle.api.file.FileCopyDetails details) private booleanisInMetaInf(org.gradle.api.file.FileCopyDetails details) private voidprepareEntry(org.apache.commons.compress.archivers.zip.ZipArchiveEntry entry, String name, Long time, int mode) private voidprepareStoredEntry(InputStream input, org.apache.commons.compress.archivers.zip.ZipArchiveEntry archiveEntry) private voidprepareStoredEntry(org.gradle.api.file.FileCopyDetails details, org.apache.commons.compress.archivers.zip.ZipArchiveEntry archiveEntry) (专用程序包) voidprocess(org.gradle.api.file.FileCopyDetails details) private voidprocessDirectory(org.gradle.api.file.FileCopyDetails details) private voidprocessFile(org.gradle.api.file.FileCopyDetails details) private booleanskipProcessing(org.gradle.api.file.FileCopyDetails details) private voidprivate voidwriteEntry(String name, InfraZipCopyAction.ZipEntryContentWriter entryWriter, boolean addToLayerIndex) private voidwriteEntry(String name, InfraZipCopyAction.ZipEntryContentWriter entryWriter, boolean addToLayerIndex, InfraZipCopyAction.ZipEntryCustomizer entryCustomizer) private voidwriteJarModeLibrary(String location, cn.taketoday.app.loader.tools.JarModeLibrary library) private voidprivate voidprivate voidwriteLoaderEntriesIfNecessary(org.gradle.api.file.FileCopyDetails details) private voidprivate voidwriteParentDirectoriesIfNecessary(String name, Long time)
-
字段详细资料
-
out
private final org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream out -
layerIndex
private final cn.taketoday.app.loader.tools.LayersIndex layerIndex -
writtenLoaderEntries
-
writtenDirectories
-
writtenLibraries
-
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
- 抛出:
IOException
-
processFile
- 抛出:
IOException
-
writeParentDirectoriesIfNecessary
- 抛出:
IOException
-
getParentDirectory
-
finish
- 抛出:
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
- 抛出:
IOException
-
writeJarModeLibrary
private void writeJarModeLibrary(String location, cn.taketoday.app.loader.tools.JarModeLibrary library) throws IOException - 抛出:
IOException
-
writeClassPathIndexIfNecessary
- 抛出:
IOException
-
writeNativeImageArgFileIfNecessary
- 抛出:
IOException
-
writeLayersIndexIfNecessary
- 抛出:
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
-
getTime
-
getDirMode
private int getDirMode() -
getFileMode
private int getFileMode() -
getFileMode
private int getFileMode(org.gradle.api.file.FileCopyDetails details)
-