Package repast.simphony.integration
Class DefaultDataFile
java.lang.Object
repast.simphony.integration.DefaultDataFile
- All Implemented Interfaces:
DataFile,IntegrationSource,Reader,Writer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the reader that will be used to perform reads.Retrieves the writer that will be used to perform writes.voidread()voidsetReadDescriptorFileName(String readDescriptorFileName) voidSets the reader to write with.voidsetReadFileName(String fileName) voidsetWriteDescriptorFileName(String descriptorFileName) voidsetWriteFileName(String fileName) voidSets the writer to write with.voidsetWrittenObject(Queryable queryable) voidwrite()
-
Constructor Details
-
DefaultDataFile
public DefaultDataFile()
-
-
Method Details
-
getReadDescriptorFileName
- Specified by:
getReadDescriptorFileNamein interfaceDataFile
-
setReadDescriptorFileName
- Specified by:
setReadDescriptorFileNamein interfaceDataFile
-
write
- Specified by:
writein interfaceWriter- Throws:
org.jdom.JDOMExceptionIOException
-
read
- Specified by:
readin interfaceReader- Throws:
IOExceptionorg.jdom.JDOMException
-
getWriteDescriptorFileName
- Specified by:
getWriteDescriptorFileNamein interfaceDataFile
-
setWriteDescriptorFileName
- Specified by:
setWriteDescriptorFileNamein interfaceDataFile
-
setReadFileName
- Specified by:
setReadFileNamein interfaceDataFile
-
getReadObject
- Specified by:
getReadObjectin interfaceDataFile
-
setWriteFileName
- Specified by:
setWriteFileNamein interfaceDataFile
-
setWriter
Description copied from interface:IntegrationSourceSets the writer to write with.- Specified by:
setWriterin interfaceIntegrationSource- Parameters:
writer- the writer to use
-
getWriter
Description copied from interface:IntegrationSourceRetrieves the writer that will be used to perform writes.- Specified by:
getWriterin interfaceIntegrationSource- Returns:
- the writer that will be used to perform writes
-
setReader
Description copied from interface:IntegrationSourceSets the reader to write with.- Specified by:
setReaderin interfaceIntegrationSource- Parameters:
reader- the reader to use
-
getReader
Description copied from interface:IntegrationSourceRetrieves the reader that will be used to perform reads.- Specified by:
getReaderin interfaceIntegrationSource- Returns:
- the reader that will be used to perform reads
-
setWrittenObject
- Specified by:
setWrittenObjectin interfaceWriter
-