|Modifier and Type||Class and Description|
The known values for HostOs.
|Constructor and Description|
|Modifier and Type||Method and Description|
The operating system the archive has been created on.
The last modified date of the entry.
File mode of this entry.
Get this entry's name.
Get this entry's file size.
File mode of this entry as Unix stat value.
True if the entry refers to a directory.
Is the operating system the archive has been created on one that is considered a UNIX OS by arj?
public long getSize()
public boolean isDirectory()
public Date getLastModifiedDate()
Note the interpretation of time is different depending on the HostOS that has created the archive. While an OS that is
considered to be Unix stores time in a timezone independent manner, other platforms only use the local time. I.e. if an archive has been created at midnight UTC on a machine in timezone UTC this method will return midnight regardless of timezone if the archive has been created on a non-Unix system and a time taking the current timezone into account if the archive has beeen created on Unix.
public int getMode()
The format depends on the host os that created the entry.
public int getUnixMode()
Will only be non-zero of the host os was UNIX.
public int getHostOs()
public boolean isHostOsUnix()
Copyright © 2016 The Apache Software Foundation. All rights reserved.