-
Method Summary
void
Add an entry to an archive.
default void
Add an entry to an archive.
default void
Add an entry to an archive.
default void
Add an entry to an archive.
default void
Add an entry to an archive.
default void
Add an entry to an archive.
default void
Add an entry to an archive.
default void
Add an entry to an archive.
void
Add an entry to an archive.
-
Method Details
-
addEntry
Add an entry to an archive.
- Parameters:
logicalPathInBundle
- where in the archive this entry should be written
outputStream
- used to write the contents of the entry
- Throws:
IOException
- if an error was encountered while performing IO
- Since:
- 5.13
-
addPathFromDisk
Add an entry to an archive.
- Parameters:
destinationInBundle
- where in the archive this entry should be written
sourceOnDisk
- source for entry data
filter
- filter files from being written to archive
attempts
- the number of times to retry this operation in the case of failure
- Throws:
IOException
- if an error was encountered while performing IO
- Since:
- 5.13
-
addPathFromDisk
Add an entry to an archive.
- Parameters:
destinationInBundle
- where in the archive this entry should be written
sourceOnDisk
- source for entry data
filter
- filter files from being written to archive
- Throws:
IOException
- if an error was encountered while performing IO
- Since:
- 5.14
-
addPathFromDisk
default void addPathFromDisk(@Nonnull
Path destinationInBundle,
@Nonnull
Path sourceOnDisk)
throws IOException
Add an entry to an archive.
- Parameters:
destinationInBundle
- where in the archive this entry should be written
sourceOnDisk
- source for entry data
- Throws:
IOException
- if an error was encountered while performing IO
- Since:
- 5.14
-
addPathFromDisk
default void addPathFromDisk(@Nonnull
Path destinationInBundle,
@Nonnull
Path sourceOnDisk,
int attempts)
throws IOException
Add an entry to an archive.
- Parameters:
destinationInBundle
- where in the archive this entry should be written
sourceOnDisk
- source for entry data
attempts
- the number of times to retry this operation in the case of failure
- Throws:
IOException
- if an error was encountered while performing IO
- Since:
- 5.14
-
addPathFromDisk
default void addPathFromDisk(@Nonnull
Path sourceOnDisk)
throws IOException
Add an entry to an archive.
- Parameters:
sourceOnDisk
- source for entry data
- Throws:
IOException
- if an error was encountered while performing IO
- Since:
- 5.13
-
addPathFromDisk
default void addPathFromDisk(@Nonnull
Path sourceOnDisk,
int attempts)
throws IOException
Add an entry to an archive.
- Parameters:
sourceOnDisk
- source for entry data
attempts
- the number of times to retry this operation in the case of failure
- Throws:
IOException
- if an error was encountered while performing IO
- Since:
- 5.14
-
addPathFromDisk
Add an entry to an archive.
- Parameters:
sourceOnDisk
- source for entry data
filter
- filter files from being written to archive
attempts
- the number of times to retry this operation in the case of failure
- Throws:
IOException
- if an error was encountered while performing IO
- Since:
- 5.14
-
addPathFromDisk
Add an entry to an archive.
- Parameters:
sourceOnDisk
- source for entry data
filter
- filter files from being written to archive
- Throws:
IOException
- if an error was encountered while performing IO
- Since:
- 5.13