You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thomas Mortagne (JIRA)" <ji...@apache.org> on 2012/09/11 16:39:07 UTC
[jira] [Created] (COMPRESS-201) No constructor to create a
TarArchiveEntry link with leading slash
Thomas Mortagne created COMPRESS-201:
----------------------------------------
Summary: No constructor to create a TarArchiveEntry link with leading slash
Key: COMPRESS-201
URL: https://issues.apache.org/jira/browse/COMPRESS-201
Project: Commons Compress
Issue Type: Bug
Components: Compressors
Affects Versions: 1.4.1
Reporter: Thomas Mortagne
Priority: Minor
I want to create a link with a leading slash and put it in a tar archive (Debian package).
The following constructors are provided
{code}
public TarArchiveEntry(String name, boolean preserveLeadingSlashes)
public TarArchiveEntry(String name, byte linkFlag)
{code}
but there is no
{code}
public TarArchiveEntry(String name, byte linkFlag, boolean preserveLeadingSlashes)
{code}
so I have to overwrite the name using setName(String) which is not very clean.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira