org.codehaus.enunciate.main
Class NamedFileArtifact

java.lang.Object
  extended by org.codehaus.enunciate.main.BaseArtifact
      extended by org.codehaus.enunciate.main.FileArtifact
          extended by org.codehaus.enunciate.main.NamedFileArtifact
All Implemented Interfaces:
java.lang.Comparable<Artifact>, Artifact, NamedArtifact

public class NamedFileArtifact
extends FileArtifact
implements NamedArtifact

A file artifact that supports a name.

Author:
Ryan Heaton

Constructor Summary
NamedFileArtifact(java.lang.String module, java.lang.String id, java.io.File file)
           
 
Method Summary
 java.lang.String getName()
          The name of the artifact.
 
Methods inherited from class org.codehaus.enunciate.main.FileArtifact
exportTo, getArtifactType, getDescription, getFile, getSize, isPublic, setArtifactType, setDescription, setPublic
 
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
 
Methods inherited from interface org.codehaus.enunciate.main.Artifact
exportTo, getAliases, getDependencies, getId, getModule, getSize, isPublic
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

NamedFileArtifact

public NamedFileArtifact(java.lang.String module,
                         java.lang.String id,
                         java.io.File file)
Method Detail

getName

public java.lang.String getName()
The name of the artifact.

Specified by:
getName in interface NamedArtifact
Returns:
The name of the artifact.