Package net.simplace.sim.io.interfaces
Klasse FILEInterface
java.lang.Object
net.simplace.sim.io.interfaces.FWSimInterface<FilePool>
net.simplace.sim.io.interfaces.FILEInterface
- Bekannte direkte Unterklassen:
CSVInterface,NetCDFInterface,XMLInterface
implementation of the FWSimInterface
giving access to resources from and output to files
- Autor:
- Andreas Enders
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen net.simplace.sim.io.interfaces.FWSimInterface
FWSimInterface.INTERFACE_TYPE -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected Stringthe file nameprotected FilePoolthe file info objectprotected Stringthe file nameVon Klasse geerbte Felder net.simplace.sim.io.interfaces.FWSimInterface
iColumnMap, iColumnNamesInt, iIntColumnNames -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungFILEInterface(String aName, int aPoolSize, FWSimInterface.INTERFACE_TYPE aType, String aFileName, String aContent) protectedFILEInterface(String aName, FWSimInterface.INTERFACE_TYPE aType, org.jdom2.Element aInterfaceElement) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidfinalize()getInterface(FWSimVarMap aVarMap, FWSimVariable.CONTENT_TYPE aContentType) implementation of the get interface method.voidsetFilename(String aFilename) org.jdom2.ElementtoXML()Von Klasse geerbte Methoden net.simplace.sim.io.interfaces.FWSimInterface
checkHeaderForColMode, createInterface, createInterface, createStatisticInterface, getInterfaceType, getName, getPoolSize, read, readColArray, toString, transformArrays, writeToDatabase
-
Felddetails
-
iFilename
the file name -
iContent
the file name -
iFileinfo
the file info object
-
-
Konstruktordetails
-
FILEInterface
protected FILEInterface(String aName, FWSimInterface.INTERFACE_TYPE aType, org.jdom2.Element aInterfaceElement) - Parameter:
aName- of the interfaceaType- concerning data formataInterfaceElement- configurationaPoolSize-
-
FILEInterface
public FILEInterface(String aName, int aPoolSize, FWSimInterface.INTERFACE_TYPE aType, String aFileName, String aContent) - Parameter:
aName- of the interfaceaPoolSize-aType- concerning data formataFileName- configuration
-
-
Methodendetails
-
getInterface
implementation of the get interface method.- Angegeben von:
getInterfacein KlasseFWSimInterface<FilePool>- Parameter:
aVarMap-aContentType-- Gibt zurück:
- generic interface connection object. for example: database - connection; xml - fileinfo
- Siehe auch:
-
getFilename
- Gibt zurück:
- the filename
-
setFilename
- Parameter:
aFilename- the filename to set
-
toXML
public org.jdom2.Element toXML()- Setzt außer Kraft:
toXMLin KlasseFWSimInterface<FilePool>- Gibt zurück:
- Element containing configuration for this Interface
-
finalize
- Angegeben von:
finalizein KlasseFWSimInterface<FilePool>- Löst aus:
Exception- Siehe auch:
-