Class Tar.TarLongFileMode

java.lang.Object
org.apache.tools.ant.types.EnumeratedAttribute
org.apache.tools.ant.taskdefs.Tar.TarLongFileMode
Enclosing class:
Tar

public static class Tar.TarLongFileMode extends EnumeratedAttribute
Set of options for long file handling in the task.
  • Field Details

  • Constructor Details

    • TarLongFileMode

      public TarLongFileMode()
      Constructor, defaults to "warn"
  • Method Details

    • getValues

      public String[] getValues()
      Description copied from class: EnumeratedAttribute
      This is the only method a subclass needs to implement.
      Specified by:
      getValues in class EnumeratedAttribute
      Returns:
      the possible values for this enumerated type.
    • isTruncateMode

      public boolean isTruncateMode()
      Returns:
      true if value is "truncate".
    • isWarnMode

      public boolean isWarnMode()
      Returns:
      true if value is "warn".
    • isGnuMode

      public boolean isGnuMode()
      Returns:
      true if value is "gnu".
    • isFailMode

      public boolean isFailMode()
      Returns:
      true if value is "fail".
    • isOmitMode

      public boolean isOmitMode()
      Returns:
      true if value is "omit".
    • isPosixMode

      public boolean isPosixMode()
      Returns:
      true if value is "posix".