public class ZipFileSubsystemInputStreamSources extends Object implements SubsystemInputStreamSources
Constructor and Description |
---|
ZipFileSubsystemInputStreamSources() |
Modifier and Type | Method and Description |
---|---|
void |
addAllSubsystemFileSources(ZipFileSubsystemInputStreamSources other)
Adds all subsystem input stream sources from the specified factory.
|
void |
addAllSubsystemFileSourcesFromModule(FeaturePack.Module module,
ArtifactFileResolver artifactFileResolver,
boolean transitive)
Adds all file sources in the specified module's artifacts.
|
void |
addAllSubsystemFileSourcesFromZipFile(File file)
Adds all file sources in the specified zip file.
|
void |
addSubsystemFileSource(String subsystemFileName,
File zipFile,
ZipEntry zipEntry)
Creates a zip entry inputstream source and maps it to the specified filename.
|
boolean |
addSubsystemFileSourceFromModule(String subsystem,
FeaturePack.Module module,
ArtifactFileResolver artifactFileResolver)
Adds the file source for the specified subsystem, from the specified module's artifacts.
|
boolean |
addSubsystemFileSourceFromZipFile(String subsystem,
File file)
Adds the file source for the specified subsystem, from the specified zip file.
|
InputStreamSource |
getInputStreamSource(String subsystemFileName)
Retrieves the input stream source mapped to the specified subsystem file name.
|
String |
toString() |
public void addSubsystemFileSource(String subsystemFileName, File zipFile, ZipEntry zipEntry)
subsystemFileName
- zipFile
- zipEntry
- public void addAllSubsystemFileSources(ZipFileSubsystemInputStreamSources other)
other
- public void addAllSubsystemFileSourcesFromZipFile(File file) throws IOException
file
- IOException
public boolean addSubsystemFileSourceFromZipFile(String subsystem, File file) throws IOException
subsystem
- file
- IOException
public void addAllSubsystemFileSourcesFromModule(FeaturePack.Module module, ArtifactFileResolver artifactFileResolver, boolean transitive) throws IOException
module
- artifactFileResolver
- transitive
- IOException
public boolean addSubsystemFileSourceFromModule(String subsystem, FeaturePack.Module module, ArtifactFileResolver artifactFileResolver) throws IOException
subsystem
- module
- artifactFileResolver
- IOException
public InputStreamSource getInputStreamSource(String subsystemFileName)
SubsystemInputStreamSources
getInputStreamSource
in interface SubsystemInputStreamSources
Copyright © 2023 JBoss by Red Hat. All rights reserved.