org.apache.ant.compress.taskdefs
Class Ar

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.ant.compress.taskdefs.ArchiveBase
              extended by org.apache.ant.compress.taskdefs.Ar
All Implemented Interfaces:
java.lang.Cloneable

public class Ar
extends ArchiveBase

Creates ar archives.


Nested Class Summary
static class Ar.Format
          The supported tar formats for entries with long file names.
 
Nested classes/interfaces inherited from class org.apache.ant.compress.taskdefs.ArchiveBase
ArchiveBase.Duplicate, ArchiveBase.EntryBuilder, ArchiveBase.FileSetBuilder, ArchiveBase.Mode, ArchiveBase.ResourceCollectionFlags, ArchiveBase.ResourceFlags, ArchiveBase.ResourceWithFlags, ArchiveBase.WhenEmpty
 
Field Summary
 
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
Ar()
           
 
Method Summary
 void setFilesOnly(boolean b)
          Whether only file entries should be added to the archive.
 void setFormat(Ar.Format f)
          The format for entries with filenames longer than 16 characters or containign spaces - any other entry will always use "ar".
 
Methods inherited from class org.apache.ant.compress.taskdefs.ArchiveBase
add, addConfiguredDest, addDuplicate, bendSlashesForward, ensureParentDirs, execute, findSources, findUnmatchedTargets, getDest, getEncoding, getEntryBuilder, getFactory, getFileSetBuilder, getFlags, getFlags, getMode, getPreserveLeadingSlashes, isFilesOnly, isUpToDate, round, setDest, setDestfile, setDuplicate, setEncoding, setEntryBuilder, setFactory, setFileSetBuilder, setMode, setPreserve0permissions, setPreserveLeadingSlashes, setRoundUp, setWhenempty, sort, validate, writeArchive
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ar

public Ar()
Method Detail

setFilesOnly

public void setFilesOnly(boolean b)
Description copied from class: ArchiveBase
Whether only file entries should be added to the archive.

Overrides:
setFilesOnly in class ArchiveBase

setFormat

public void setFormat(Ar.Format f)
The format for entries with filenames longer than 16 characters or containign spaces - any other entry will always use "ar".

Since:
Apache Compress Antlib 1.1