commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mortagne (JIRA)" <j...@apache.org>
Subject [jira] [Created] (COMPRESS-201) No constructor to create a TarArchiveEntry link with leading slash
Date Tue, 11 Sep 2012 14:39:07 GMT
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

Mime
View raw message