Package org.djutils.data
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.
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.CsvValidationExceptionDemonstration 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.CsvValidationExceptionStraight 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.TextSerializationExceptionExample using DJUNITS strongly types values.- Throws:
org.djutils.data.serialization.TextSerializationException
- ...IOException
- ...
-