View Javadoc

1   /***
2    * 
3    */
4   package com.fernsroth.squashfs.model;
5   
6   /***
7    * 
8    * @author Joseph M. Ferner (Near Infinity Corporation)
9    */
10  public class SymLink extends BaseFile {
11  
12      /***
13       * link name.
14       */
15      private String linkName;
16  
17      /***
18       * constructor. 
19       * @param name the name of the file.
20       * @param mode the mode.
21       * @param mTime the modify time.
22       * @param guid the group id.
23       * @param uid the user id.
24       * @param linkName the linked file. 
25       */
26      public SymLink(String name, int mode, long mTime, long guid, long uid,
27              String linkName) {
28          super(name, mode, mTime, guid, uid);
29          this.linkName = linkName;
30      }
31  
32      /***
33       * @return the linkName
34       */
35      public String getLinkName() {
36          return this.linkName;
37      }
38  }