|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.Expand
org.apache.ant.compress.taskdefs.ExpandBase
public abstract class ExpandBase
Expand an archive.
PatternSets are used to select files to extract from the archive. If no patternset is used, all files are extracted.
FileSets may be used to select archived files to perform unarchival upon.
File permissions will not be restored on extracted files.
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.taskdefs.Expand |
---|
ERROR_MULTIPLE_MAPPERS, NATIVE_ENCODING |
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 | |
---|---|
protected |
ExpandBase(ArchiveStreamFactory factory)
|
Method Summary | |
---|---|
protected void |
expandFile(org.apache.tools.ant.util.FileUtils fileUtils,
java.io.File srcF,
java.io.File dir)
|
protected void |
expandResource(org.apache.tools.ant.types.Resource srcR,
java.io.File dir)
|
void |
setEncoding(java.lang.String encoding)
No encoding support in general. |
void |
setScanForUnicodeExtraFields(boolean b)
No unicode extra fields in general. |
Methods inherited from class org.apache.tools.ant.taskdefs.Expand |
---|
add, add, addFileset, addPatternset, createMapper, execute, extractFile, getEncoding, getFailOnEmptyArchive, getMapper, getScanForUnicodeExtraFields, internalSetEncoding, internalSetScanForUnicodeExtraFields, setDest, setFailOnEmptyArchive, setOverwrite, setSrc, setStripAbsolutePathSpec |
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 |
---|
protected ExpandBase(ArchiveStreamFactory factory)
Method Detail |
---|
public void setEncoding(java.lang.String encoding)
setEncoding
in class org.apache.tools.ant.taskdefs.Expand
encoding
- not usedpublic void setScanForUnicodeExtraFields(boolean b)
setScanForUnicodeExtraFields
in class org.apache.tools.ant.taskdefs.Expand
protected void expandFile(org.apache.tools.ant.util.FileUtils fileUtils, java.io.File srcF, java.io.File dir)
expandFile
in class org.apache.tools.ant.taskdefs.Expand
protected void expandResource(org.apache.tools.ant.types.Resource srcR, java.io.File dir)
expandResource
in class org.apache.tools.ant.taskdefs.Expand
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |