当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
Implode - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.common.ant
Class Implode
java.lang.Object
Task
org.jboss.portal.common.ant.Implode
- public class Implode
- extends Task
- Version:
- $Revision: 5451 $
- Author:
- Julien Viet
- See Also:
- Serialized Form
Field Summary |
private java.io.File |
dir
The exploded dir. |
private static java.util.Set |
extensions
Unzipped extensions. |
private java.io.File |
tofile
The target file. |
Method Summary |
void |
execute()
|
byte[] |
implode(java.io.File f)
|
void |
implode(java.io.File f,
java.lang.String path,
java.util.jar.JarOutputStream out)
|
void |
setDir(java.io.File dir)
|
void |
setTofile(java.io.File tofile)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
extensions
private static final java.util.Set extensions
- Unzipped extensions.
dir
private java.io.File dir
- The exploded dir.
tofile
private java.io.File tofile
- The target file.
Implode
public Implode()
setDir
public void setDir(java.io.File dir)
setTofile
public void setTofile(java.io.File tofile)
execute
public void execute()
throws BuildException
- Throws:
BuildException
implode
public byte[] implode(java.io.File f)
throws java.io.IOException
- Throws:
java.io.IOException
implode
public void implode(java.io.File f,
java.lang.String path,
java.util.jar.JarOutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException