You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by do...@apache.org on 2002/08/01 06:40:27 UTC

cvs commit: jakarta-ant/src/main/org/apache/tools/tar TarEntry.java

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>