|
|||||||||
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.Unpack
org.apache.ant.compress.taskdefs.UnpackBase
public abstract class UnpackBase
Expands a resource that has been compressed.
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.taskdefs.Unpack |
---|
dest, source, srcResource |
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 |
UnpackBase(java.lang.String defaultExtension)
|
protected |
UnpackBase(java.lang.String defaultExtension,
CompressorStreamFactory factory)
|
Method Summary | |
---|---|
protected void |
extract()
Implement the uncompression. |
protected java.lang.String |
getDefaultExtension()
Get the default extension. |
void |
setDecompressConcatenated(boolean b)
Whether to extract the whole resource if it contains multiple concatenated streams. |
protected void |
setFactory(CompressorStreamFactory factory)
|
protected boolean |
supportsNonFileResources()
Yes, we can. |
Methods inherited from class org.apache.tools.ant.taskdefs.Unpack |
---|
addConfigured, execute, setDest, setDest, setSrc, setSrc, setSrcResource |
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 UnpackBase(java.lang.String defaultExtension, CompressorStreamFactory factory)
protected UnpackBase(java.lang.String defaultExtension)
Method Detail |
---|
protected final void setFactory(CompressorStreamFactory factory)
protected final java.lang.String getDefaultExtension()
getDefaultExtension
in class org.apache.tools.ant.taskdefs.Unpack
public void setDecompressConcatenated(boolean b)
Defaults to false for backwards compatibility.
protected void extract()
extract
in class org.apache.tools.ant.taskdefs.Unpack
protected final boolean supportsNonFileResources()
supportsNonFileResources
in class org.apache.tools.ant.taskdefs.Unpack
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |