Package org.apache.tools.ant.taskdefs
Class Tar.TarLongFileMode
java.lang.Object
org.apache.tools.ant.types.EnumeratedAttribute
org.apache.tools.ant.taskdefs.Tar.TarLongFileMode
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringpermissible values for longfile attributestatic final Stringpermissible values for longfile attributestatic final Stringpermissible values for longfile attributestatic final Stringpermissible values for longfile attributestatic final Stringpermissible values for longfile attributestatic final Stringpermissible values for longfile attributeFields inherited from class org.apache.tools.ant.types.EnumeratedAttribute
value -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]This is the only method a subclass needs to implement.booleanbooleanbooleanbooleanbooleanbooleanMethods inherited from class org.apache.tools.ant.types.EnumeratedAttribute
containsValue, getIndex, getInstance, getValue, indexOfValue, setValue, toString
-
Field Details
-
WARN
-
FAIL
-
TRUNCATE
-
GNU
-
POSIX
-
OMIT
-
-
Constructor Details
-
TarLongFileMode
public TarLongFileMode()Constructor, defaults to "warn"
-
-
Method Details
-
getValues
Description copied from class:EnumeratedAttributeThis is the only method a subclass needs to implement.- Specified by:
getValuesin classEnumeratedAttribute- 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".
-