|
|||||||||
| 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.main.FileArtifact
public class FileArtifact
A file artifact.
| Constructor Summary | |
|---|---|
FileArtifact(java.lang.String module,
java.lang.String id,
java.io.File file)
|
|
| Method Summary | |
|---|---|
void |
exportTo(java.io.File file,
Enunciate enunciate)
Exports this artifact to the specified file. |
ArtifactType |
getArtifactType()
The artifact type. |
java.lang.String |
getDescription()
The description of this file artifact. |
java.io.File |
getFile()
The file for this artifact. |
long |
getSize()
The size of the file. |
boolean |
isPublic()
Whether this file artifact is a public artifact. |
void |
setArtifactType(ArtifactType artifactType)
The artifact type. |
void |
setDescription(java.lang.String description)
The description of this file artifact. |
void |
setPublic(boolean bundled)
Whether this file artifact is a public artifact. |
| Methods inherited from class org.codehaus.enunciate.main.BaseArtifact |
|---|
addAlias, addDependency, compareTo, getAliases, getDependencies, getId, getModule, setDependencies |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileArtifact(java.lang.String module,
java.lang.String id,
java.io.File file)
| Method Detail |
|---|
public java.io.File getFile()
public void exportTo(java.io.File file,
Enunciate enunciate)
throws java.io.IOException
file - The file to export to.enunciate - The enunciate mechanism to use for utilities and properties as necessary.
java.io.IOException - If an error occurs exporting it.public long getSize()
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - The description of this file artifact.public boolean isPublic()
isPublic in interface ArtifactisPublic in class BaseArtifactpublic void setPublic(boolean bundled)
bundled - Whether this file artifact is a public artifact.public ArtifactType getArtifactType()
public void setArtifactType(ArtifactType artifactType)
artifactType - The artifact type.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||