Package | Description |
---|---|
org.opentrafficsim.base.compressedfiles |
Utilities for reading and writing compressed files.
|
Modifier and Type | Method and Description |
---|---|
static CompressionType |
Reader.autoDetectCompressionType(String fileName)
Determine the type of compression used in a file.
|
static CompressionType |
CompressionType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompressionType[] |
CompressionType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static InputStream |
Reader.createInputStream(String fileName,
CompressionType compressionType)
Construct a InputStream for a compressed data file.
|
static OutputStream |
Writer.createOutputStream(String fileName,
CompressionType compressionType)
Construct a new OutputStream that performs a requested data compression.
|
Copyright © 2014–2019 Delft University of Technology. All rights reserved.