DexNet  4.8.2
Public Member Functions | List of all members
com.sparsity.dex.io.NodeTypeExporter Class Reference

NodeTypeExporter class. More...

Inheritance diagram for com.sparsity.dex.io.NodeTypeExporter:
Inheritance graph
Collaboration diagram for com.sparsity.dex.io.NodeTypeExporter:
Collaboration graph

Public Member Functions

void SetRowWriter (com.sparsity.dex.io.RowWriter rw)
 Sets the output data destination. More...
 
void Register (com.sparsity.dex.io.TypeExporterListener tel)
 Registers a new listener. More...
 
void Run () throws System.IO.IOException, System.ApplicationException
 See TypeExporter::Run. More...
 
void SetHeader (bool header)
 Sets the presence of a header row. More...
 
void SetFrequency (int freq)
 Sets the frequency of listener notification. More...
 
void SetAttributes (com.sparsity.dex.gdb.AttributeList attrs)
 Sets the list of Attributes. More...
 
void SetGraph (com.sparsity.dex.gdb.Graph g)
 Sets the graph that will be exported. More...
 
 NodeTypeExporter (com.sparsity.dex.io.RowWriter rw, com.sparsity.dex.gdb.Graph g, int t, com.sparsity.dex.gdb.AttributeList attrs)
 Creates a new instance. More...
 
void SetType (int t)
 Sets the type to be exported. More...
 
 NodeTypeExporter ()
 Creates a new instance.
 

Detailed Description

NodeTypeExporter class.

Specific TypeExporter implementation for node types.

Check out the 'Data export' section in the DEX User Manual for more details on this.

Author
Sparsity Technologies http://www.sparsity-technologies.com

Constructor & Destructor Documentation

com.sparsity.dex.io.NodeTypeExporter.NodeTypeExporter ( com.sparsity.dex.io.RowWriter  rw,
com.sparsity.dex.gdb.Graph  g,
int  t,
com.sparsity.dex.gdb.AttributeList  attrs 
)

Creates a new instance.

Parameters
rw[in] Output RowWriter.
g[in] Graph.
t[in] Type identifier.
attrs[in] Attribute identifiers to be exported.

Member Function Documentation

void com.sparsity.dex.io.NodeTypeExporter.Register ( com.sparsity.dex.io.TypeExporterListener  tel)

Registers a new listener.

Parameters
tel[in] TypeExporterListener to be registered.
void com.sparsity.dex.io.NodeTypeExporter.Run ( ) throws System.IO.IOException, System.ApplicationException

See TypeExporter::Run.

Exceptions
System.IO.IOExceptionnull
System.ApplicationExceptionnull
void com.sparsity.dex.io.NodeTypeExporter.SetAttributes ( com.sparsity.dex.gdb.AttributeList  attrs)

Sets the list of Attributes.

Parameters
attrs[in] Attribute identifiers to be exported
void com.sparsity.dex.io.NodeTypeExporter.SetFrequency ( int  freq)

Sets the frequency of listener notification.

freq [in] Frequency in number of rows managed to notify progress to all listeners

Parameters
freqnull
void com.sparsity.dex.io.NodeTypeExporter.SetGraph ( com.sparsity.dex.gdb.Graph  g)

Sets the graph that will be exported.

Parameters
g[in] Graph.
void com.sparsity.dex.io.NodeTypeExporter.SetHeader ( bool  header)

Sets the presence of a header row.

Parameters
header[in] If TRUE, a header row is dumped with the name of the attributes.
void com.sparsity.dex.io.NodeTypeExporter.SetRowWriter ( com.sparsity.dex.io.RowWriter  rw)

Sets the output data destination.

rr[in] Input RowWriter.

Parameters
rwnull
void com.sparsity.dex.io.NodeTypeExporter.SetType ( int  t)

Sets the type to be exported.

Parameters
t[in] Type identifier.