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 SummaryFieldsModifier 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.EnumeratedAttributevalue
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionString[]This is the only method a subclass needs to implement.booleanbooleanbooleanbooleanbooleanbooleanMethods inherited from class org.apache.tools.ant.types.EnumeratedAttributecontainsValue, getIndex, getInstance, getValue, indexOfValue, setValue, toString
- 
Field Details- 
WARN
- 
FAIL
- 
TRUNCATE
- 
GNU
- 
POSIX
- 
OMIT
 
- 
- 
Constructor Details- 
TarLongFileModepublic TarLongFileMode()Constructor, defaults to "warn"
 
- 
- 
Method Details- 
getValuesDescription copied from class:EnumeratedAttributeThis is the only method a subclass needs to implement.- Specified by:
- getValuesin class- EnumeratedAttribute
- Returns:
- the possible values for this enumerated type.
 
- 
isTruncateModepublic boolean isTruncateMode()- Returns:
- true if value is "truncate".
 
- 
isWarnModepublic boolean isWarnMode()- Returns:
- true if value is "warn".
 
- 
isGnuModepublic boolean isGnuMode()- Returns:
- true if value is "gnu".
 
- 
isFailModepublic boolean isFailMode()- Returns:
- true if value is "fail".
 
- 
isOmitModepublic boolean isOmitMode()- Returns:
- true if value is "omit".
 
- 
isPosixModepublic boolean isPosixMode()- Returns:
- true if value is "posix".
 
 
-