ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/tar TarEntry.java
Date Thu, 01 Aug 2002 04:40:27 GMT
donaldp     2002/07/31 21:40:27

  Modified:    src/main/org/apache/tools/tar TarEntry.java
  Log:
  Add a getter for linkname.
  
  Submitted by: njoneill@llnl.gov
  
  Revision  Changes    Path
  1.13      +10 -2     jakarta-ant/src/main/org/apache/tools/tar/TarEntry.java
  
  Index: TarEntry.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/tar/TarEntry.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- TarEntry.java	15 Apr 2002 13:36:22 -0000	1.12
  +++ TarEntry.java	1 Aug 2002 04:40:26 -0000	1.13
  @@ -317,8 +317,16 @@
       public void setMode(int mode) {
           this.mode = mode;
       }
  -    
  -        
  +
  +    /**
  +     * Get this entry's link name.
  +     *
  +     * @return This entry's link name.
  +     */
  +    public String getLinkName() {
  +        return this.linkName.toString();
  +    }
  +
       /** 
        * Get this entry's user id.
        *  
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message