|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.acm.seguin.summary.Summary
org.acm.seguin.summary.PackageSummary
public class PackageSummary
Creates a summary of a package
Field Summary |
---|
Fields inherited from class org.acm.seguin.summary.Summary |
---|
modifiers |
Fields inherited from interface net.sourceforge.jrefactory.ast.ModifierHolder |
---|
ABSTRACT, EXPLICIT, FINAL, INTERFACE, names, NATIVE, PRIVATE, PROTECTED, PUBLIC, STATIC, STRICTFP, SYNCHRONIZED, TRANSIENT, VOLATILE |
Constructor Summary | |
---|---|
protected |
PackageSummary(java.lang.String packageName)
Constructor for the package summary |
Method Summary | |
---|---|
java.lang.Object |
accept(SummaryVisitor visitor,
java.lang.Object data)
Provide method to visit a node |
protected void |
addFileSummary(FileSummary fileSummary)
Add a file summary |
void |
deleteFileSummary(FileSummary fileSummary)
Delete a file summary |
static java.util.Iterator |
getAllPackages()
Get a package summary object |
java.io.File |
getDirectory()
Get the directory associated with this package |
java.util.Iterator |
getFileSummaries()
Return an iterator of the files |
FileSummary |
getFileSummary(java.lang.String name)
Get a file summary by file name |
java.lang.String |
getName()
Get the name of the package |
static PackageSummary |
getPackageSummary(java.lang.String name)
Get a package summary object |
boolean |
isTopLevel()
Determines if it is the top level package |
static void |
loadAll(java.io.ObjectInputStream in)
Loads all the packages from the object input stream |
static void |
removeAll()
Removes all the packages to allow them to be reloaded |
static void |
saveAll(java.io.ObjectOutputStream out)
Saves all the packages to an object output stream |
java.lang.String |
toString()
Converts this object to a string |
Methods inherited from class org.acm.seguin.summary.Summary |
---|
addModifier, copyModifiers, getDeclarationLine, getEndLine, getModifiers, getModifiersString, getParent, getStartLine, isAbstract, isExplicit, isFinal, isInterface, isNative, isPackage, isPrivate, isProtected, isPublic, isStatic, isStrictFP, isSynchronized, isTransient, isVolatile, setAbstract, setAbstract, setCode, setEndLine, setFinal, setModifiers, setPrivate, setPrivate, setProtected, setProtected, setPublic, setPublic, setStartLine, setStatic, setStatic, setStrict, setSynchronized, setSynchronized, toStandardOrderString, toStringAlphabetical |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected PackageSummary(java.lang.String packageName)
packageName
- the name of the packageMethod Detail |
---|
public static java.util.Iterator getAllPackages()
public java.io.File getDirectory()
public java.util.Iterator getFileSummaries()
public FileSummary getFileSummary(java.lang.String name)
name
- the name of the file summary
public java.lang.String getName()
getName
in class Summary
public static PackageSummary getPackageSummary(java.lang.String name)
name
- the name of the package that we are creating
public boolean isTopLevel()
public java.lang.Object accept(SummaryVisitor visitor, java.lang.Object data)
accept
in class Summary
visitor
- the visitordata
- the data for the visit
protected void addFileSummary(FileSummary fileSummary)
fileSummary
- the file summary that we are addingpublic void deleteFileSummary(FileSummary fileSummary)
fileSummary
- the file summary object that we are removingpublic static void loadAll(java.io.ObjectInputStream in) throws java.io.IOException
in
- Description of Parameter
java.io.IOException
- Description of Exceptionpublic static void removeAll()
public static void saveAll(java.io.ObjectOutputStream out) throws java.io.IOException
out
- Description of Parameter
java.io.IOException
- Description of Exceptionpublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |