Tutorial:DataMelt/5 Input Output

From HandWiki

Input and output

DataMelt supports many different types of I/O (input-output), in most cases the I/O part of DataMelt is based on self-descriptive file formats. Here is the list of I/O supported by DataMelt:

  • The native Java I/O. Access them from the java.io package;
  • The native Python I/O methods and classes;
  • Native DataMelt I/O classes which are built-in into the JHPLOT package (will be discussed below). Several packages based on the standard Java serialization and XML-type serialization. Access them from jhplot.io. We will discuss some of them below;
  • External databases such as:
  • SQL-type (Derby and SQLite based on SQLjet)
  • Object-based databases (like NeoDatis and several other)
  • External file formats native to C++, such as ROOT and AIDA
  • Google's Protocol Buffers library which is fully integrated, thus all DataMelt Java data containers can be accessed or written using C++ program (or any other which are supported by the Protocol Buffers).