Class DataDemo

java.lang.Object
org.djutils.data.DataDemo

public final class DataDemo
extends Object
DataDemo.java demonstration code used in the GRAV documentation.

Copyright (c) 2020-2020 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://djutils.org. The DJUTILS project is distributed under a three-clause BSD-style license, which can be found at https://djutils.org/docs/license.html.
Author:
Alexander Verbraeck, Peter Knoppers, Wouter Schakel
  • Method Details

    • main

      public static void main​(String[] args) throws IOException, org.djutils.data.serialization.TextSerializationException, XMLStreamException, com.opencsv.exceptions.CsvValidationException
      Demonstration code.
      Parameters:
      args - String[]; the command line arguments (not used)
      Throws:
      org.djutils.data.serialization.TextSerializationException - ...
      IOException - ...
      XMLStreamException - ...
      com.opencsv.exceptions.CsvValidationException - ...
    • example1

      public static void example1() throws IOException, org.djutils.data.serialization.TextSerializationException, XMLStreamException, com.opencsv.exceptions.CsvValidationException
      Straight forward example.
      Throws:
      org.djutils.data.serialization.TextSerializationException - ...
      IOException - ...
      XMLStreamException - ...
      com.opencsv.exceptions.CsvValidationException - ...
    • example2

      public static void example2() throws IOException, org.djutils.data.serialization.TextSerializationException
      Example using DJUNITS strongly types values.
      Throws:
      org.djutils.data.serialization.TextSerializationException - ...
      IOException - ...