Browse Source

TarEntry: make linkFlag accessible

master
Marc Strapetz 4 years ago
parent
commit
c38fbc1962
1 changed files with 18 additions and 0 deletions
  1. +18
    -0
      src/main/org/apache/tools/tar/TarEntry.java

+ 18
- 0
src/main/org/apache/tools/tar/TarEntry.java View File

@@ -395,6 +395,24 @@ public class TarEntry implements TarConstants {
this.mode = mode;
}

/**
* Get this entry's link flag.
*
* @return This entry's link flag.
*/
public byte getLinkFlag() {
return linkFlag;
}

/**
* Set this entry's link flag.
*
* @param link the link flag to use.
*/
public void setLinkFlag(byte linkFlag) {
this.linkFlag = linkFlag;
}

/**
* Get this entry's link name.
*


Loading…
Cancel
Save