org.at4j.tar.builder
Interface PaxVariableProvider
public interface PaxVariableProvider
Implementations of this interface is used by the PaxTarEntryStrategy
to add more Pax variables to Pax headers.
- Since:
- 1.0
- Author:
- Karl Gustafsson
- See Also:
PaxTarEntryStrategy
addVariables
void addVariables(Map<String,String> variables,
Object entity,
AbsoluteLocation location,
TarEntrySettings effectiveSettings,
Date lastModified)
throws ArchiveEntryAddException
- Add Pax variables for the entity that is being added to the Tar archive
to the supplied map.
- Parameters:
variables - The map to add variables to.entity - The entity that is being added to the Tar archive. This is
a file, a directory or an InputStream.location - The location of the entry in the archive.effectiveSettings - The effective settings for the entry.lastModified - The time when the entity to add was last modified.
- Throws:
ArchiveEntryAddException - On errors.