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 documentation.Copyright (c) 2020-2023 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUTILS License.- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
example1()
Straight forward example.static void
example2()
Example using DJUNITS strongly types values.static void
main(String[] args)
Demonstration code.
-
-
-
Method Detail
-
main
public static void main(String[] args) throws IOException, TextSerializationException, XMLStreamException
Demonstration code.- Parameters:
args
- String[]; the command line arguments (not used)- Throws:
TextSerializationException
- ...IOException
- ...XMLStreamException
- ...
-
example1
public static void example1() throws IOException, TextSerializationException, XMLStreamException
Straight forward example.- Throws:
TextSerializationException
- ...IOException
- ...XMLStreamException
- ...
-
example2
public static void example2() throws IOException, TextSerializationException
Example using DJUNITS strongly types values.- Throws:
TextSerializationException
- ...IOException
- ...
-
-