public interface ZTFilePermissionsStrategy
ZTFilePermissions
to real filesystem-specific file attributes.Modifier and Type | Method and Description |
---|---|
org.zeroturnaround.zip.ZTFilePermissions |
getPermissions(File file)
Get
ZTFilePermissions from file. |
void |
setPermissions(File file,
org.zeroturnaround.zip.ZTFilePermissions permissions)
Set
ZTFilePermissions to file |
org.zeroturnaround.zip.ZTFilePermissions getPermissions(File file)
ZTFilePermissions
from file.file
- file to get permissions fornull
if cannot retrieve permissions info by some reason.void setPermissions(File file, org.zeroturnaround.zip.ZTFilePermissions permissions)
ZTFilePermissions
to filefile
- file to get permissions forpermissions
- permissionCopyright © 2017 ZeroTurnaround. All rights reserved.