|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.enunciate.main.BaseArtifact
org.codehaus.enunciate.modules.docs.DownloadBundle
public class DownloadBundle
An artifact bundle the contains information about a download file.
| Constructor Summary | |
|---|---|
DownloadBundle(String module,
String id,
File file)
|
|
| Method Summary | |
|---|---|
void |
exportTo(File fileOrDirectory,
Enunciate enunciate)
Exports this bundle to the specified file or directory. |
Collection<? extends Artifact> |
getArtifacts()
There's only one bundled artifact: the download file. |
Date |
getCreated()
The modification date of the file. |
String |
getDescription()
The description of this bundle. |
String |
getName()
The name of this bundle. |
long |
getSize()
The size of this download bundle. |
void |
setDescription(String description)
The description of this bundle. |
void |
setName(String name)
The name of this bundle. |
| Methods inherited from class org.codehaus.enunciate.main.BaseArtifact |
|---|
addAlias, addDependency, compareTo, getAliases, getDependencies, getId, getModule, isPublic, setDependencies |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.codehaus.enunciate.main.Artifact |
|---|
getAliases, getDependencies, getId, getModule, isPublic |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Constructor Detail |
|---|
public DownloadBundle(String module,
String id,
File file)
| Method Detail |
|---|
public void exportTo(File fileOrDirectory,
Enunciate enunciate)
throws IOException
exportTo in interface ArtifactfileOrDirectory - The file or directory to which to export this bundle.enunciate - The enunciated utilities to use.
IOExceptionpublic Collection<? extends Artifact> getArtifacts()
getArtifacts in interface ArtifactBundlepublic String getName()
getName in interface NamedArtifactpublic long getSize()
getSize in interface Artifactpublic void setName(String name)
name - The name of this bundle.public String getDescription()
public void setDescription(String description)
description - The description of this bundle.public Date getCreated()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||