Package org.opentrafficsim.base
Class CompressedFileWriter
java.lang.Object
org.opentrafficsim.base.CompressedFileWriter
public final class CompressedFileWriter
extends java.lang.Object
File writer.
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version 2 mei 2018
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Method Summary
Modifier and Type Method Description static java.io.BufferedWriter
create(java.lang.String file, boolean zipped)
Returns aBufferedWriter
to a file, zipped or not.
-
Method Details
-
create
public static java.io.BufferedWriter create(java.lang.String file, boolean zipped)Returns aBufferedWriter
to a file, zipped or not.- Parameters:
file
- String; filezipped
- boolean; zipped or not- Returns:
- BufferedWriter
-