org.at4j.zip.builder
Interface InternalFileAttributesStrategy
- All Known Implementing Classes:
- DefaultInternalFileAttributesStrategy
public interface InternalFileAttributesStrategy
This interface defines a strategy for setting the internal file attributes on
a file that is added to a Zip archive. It is used by the ZipBuilder
.
- Since:
- 1.0
- Author:
- Karl Gustafsson
- See Also:
ZipInternalFileAttributes
createInternalFileAttributes
ZipInternalFileAttributes createInternalFileAttributes(UnixEntityType type,
AbsoluteLocation loc)
- Create internal file attributes based on the supplied information.
- Parameters:
type
- The type of entity that is to be added to a Zip archive.loc
- The location of the entity.
- Returns:
- Internal attributes for the entity.