打tar包工具TarUtil(11)

来源:互联网 发布:淘宝导出数据包 编辑:程序博客网 时间:2024/05/21 17:57

/**
         * ????û?id
         * @return the uid for the tar entry
         */
        public int getUid()
        {
            return uid;
        }
       
        /**
         * The groupname for the tar entry; optional, default=""
         * This is not the same as the GID.
         * @param group the group name string.
         */
        public void setGroup(String group)
        {
            this.groupName = group;
        }
       
        /**
         * ?????
         * @return the group name string.
         */
        public String getGroup()
        {
            return groupName;
        }
       
        /**
         * The GID for the tar entry; optional, default="0"
         * This is not the same as the group name.
         * @param gid the group id.
         */
        public void setGid(int gid)
        {
            this.gid = gid;
        }
       
        /**
         * ?????id
         * @return the group identifier.
         */
        public int getGid()
        {
            return gid;
        }
       
        /**
         * If the prefix attribute is set, all files in the fileset
         * are prefixed with that path in the archive.
         * optional.
         * @param prefix the path prefix.
         */
        public void setPrefix(String prefix)
        {
            this.prefix = prefix;
        }
       
        /**
         * ?????
         * @return the path prefix for the files in the fileset.
         */
        public String getPrefix()
        {
            return prefix;
        }

原创粉丝点击