CESE 1.4.7

com.simulogic.dataview.export
Class AsciiExport

java.lang.Object
  extended by com.simulogic.dataview.export.AsciiExport

public class AsciiExport
extends java.lang.Object

Class that exports data to ASCII format


Constructor Summary
AsciiExport(ViewContent v)
          Default constructor
 
Method Summary
 void export(java.lang.String fileName)
          Exports the content of DataStorage to ASCII file
 java.lang.String exportDataASCII(DataStorage storage)
          Exports data to ASCII Only channels with attribute NORMAL_CHANNEL (default) will be exported
 java.lang.String getDelimiter()
          Getter for property delimiter
 java.lang.String getFormat()
          Getter for property format.
 void setDelimiter(java.lang.String delimiter)
          Setter for property delimiter
 void setFormat(java.lang.String format)
          Setter for property format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsciiExport

public AsciiExport(ViewContent v)
Default constructor

Parameters:
v - view conent
Method Detail

export

public void export(java.lang.String fileName)
            throws java.io.IOException
Exports the content of DataStorage to ASCII file

Parameters:
fileName - name of the file to export data
Throws:
java.io.IOException - if i/o problem occurs

exportDataASCII

public java.lang.String exportDataASCII(DataStorage storage)
Exports data to ASCII Only channels with attribute NORMAL_CHANNEL (default) will be exported

Parameters:
storage - data storage to export
Returns:
String containing formatted ASCII codes for data

getDelimiter

public java.lang.String getDelimiter()
Getter for property delimiter

Returns:
Value of property delimiter

setDelimiter

public void setDelimiter(java.lang.String delimiter)
Setter for property delimiter

Parameters:
delimiter - New value of property delimiter

getFormat

public java.lang.String getFormat()
Getter for property format.

Returns:
Value of property format.

setFormat

public void setFormat(java.lang.String format)
Setter for property format.

Parameters:
format - New value of property format.

CESE 1.4.7

Copyright (c) 1999 - 2007 Cell Electrophysiology Simulation Environment (CESE). All rights reserved.