Class TarEntry

java.lang.Object
org.basex.io.in.TarEntry

public final class TarEntry extends Object
Representation of a single TAR entry.
Author:
BaseX Team 2005-21, BSD License, Christian Gruen
  • Method Details

    • getSize

      public long getSize()
      Returns the byte size of the entry.
      Returns:
      size
    • getName

      public String getName()
      Returns the name of the entry.
      Returns:
      size
    • setName

      public void setName(String nm)
      Sets a file name.
      Parameters:
      nm - name
    • isDirectory

      public boolean isDirectory()
      Checks if the the current entry is a directory.
      Returns:
      result of check
    • isLongName

      public boolean isLongName()
      Indicate if this entry is a GNU long name block.
      Returns:
      true if this is a long name extension provided by GNU tar
    • toString

      public String toString()
      Overrides:
      toString in class Object