|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--edu.iu.iv.modeling.tarl.output.impl.DefaultOutputWriter
This class provides a default implementation of the OutputWriterInterface in order to write the Output Files. It assumes the default implementation of the standard interfaces.
DefaultPublicationGroup,
DefaultAuthorGroup,
DefaultTopicGroup| Field Summary | |
int[] |
authorMap
Stores an array to map the author id integers to the Pajek identifiers |
int |
authorOffset
Stores the offset for the author list in the Pajek file if publications are included |
AuthorGroup |
authors
Stores the AuthorGroupInterface for the model |
int[] |
publicationMap
Stores an array to map the publication id integers to the Pajek identifiers |
PublicationGroup |
publications
Stores the PublicationGroupInterface for the model |
TopicGroup |
topics
Stores the TopicGroupInterface for the model |
| Constructor Summary | |
DefaultOutputWriter()
Specifies a default constructor |
|
| Method Summary | |
void |
initialize(PublicationGroup publicationGroup,
AuthorGroup authorGroup,
TopicGroup topicGroup)
Initializes the OutputWriter with the given publications and authors |
void |
writeDataFiles(java.lang.String folderPath)
Writes out the Data Files to the file system in the given folder |
void |
writePajekFiles(java.lang.String folderPath)
Writes out Pajek Files to the file system in the given folder |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public PublicationGroup publications
PublicationGroupInterface for the model
public AuthorGroup authors
AuthorGroupInterface for the model
public TopicGroup topics
TopicGroupInterface for the model
public int[] publicationMap
public int[] authorMap
public int authorOffset
| Constructor Detail |
public DefaultOutputWriter()
| Method Detail |
public void initialize(PublicationGroup publicationGroup,
AuthorGroup authorGroup,
TopicGroup topicGroup)
OutputWriter with the given publications and authors
initialize in interface OutputWriterpublicationGroup - Specifies the group of all the publications for the modelauthorGroup - Specifies the group of all authors for the modeltopicGroup - Specifies the group of all topics for the model
public void writePajekFiles(java.lang.String folderPath)
throws java.io.FileNotFoundException
writePajekFiles in interface OutputWriterfolderPath - Specifies the location of the folder for the output files
java.io.FileNotFoundException - if the files cannot be written to the file system
public void writeDataFiles(java.lang.String folderPath)
throws java.io.FileNotFoundException
writeDataFiles in interface OutputWriterfolderPath - Specifies the location of the folder for the output files
java.io.FileNotFoundException - if the files cannot be written to the file system
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||