DMeltTutorial:5 Input and Output

From jWork.ORG
Jump to: navigation, search
Limitted access. Reguest membership or login to this link first if you are already a member

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 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 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).

DataMelt is 100% Java, but the unique feature is that it fully supports many ways to share data between Java and C++ or other programming languages.