it.unimi.dsi.archive4j
Class SequentialBitstreamArchive.CompressionFlags

java.lang.Object
  extended by it.unimi.dsi.archive4j.SequentialBitstreamArchive.CompressionFlags
Enclosing class:
SequentialBitstreamArchive

public static class SequentialBitstreamArchive.CompressionFlags
extends Object

Class representing compression flags for much of the data in this archive.


Nested Class Summary
static class SequentialBitstreamArchive.CompressionFlags.Coding
           
static class SequentialBitstreamArchive.CompressionFlags.Component
          Each component of the data file or frequency file.
 
Field Summary
static Map<SequentialBitstreamArchive.CompressionFlags.Component,SequentialBitstreamArchive.CompressionFlags.Coding> DEFAULT
          Default codings.
 
Constructor Summary
SequentialBitstreamArchive.CompressionFlags()
           
 
Method Summary
static Map<SequentialBitstreamArchive.CompressionFlags.Component,SequentialBitstreamArchive.CompressionFlags.Coding> valueOf(String[] flag)
          Decodes a set of strings of the form SequentialBitstreamArchive.CompressionFlags.Component:SequentialBitstreamArchive.CompressionFlags.Coding into a map, patching missing components with default codings.
static Map<SequentialBitstreamArchive.CompressionFlags.Component,SequentialBitstreamArchive.CompressionFlags.Coding> valueOf(String[] flag, Map<SequentialBitstreamArchive.CompressionFlags.Component,SequentialBitstreamArchive.CompressionFlags.Coding> defaultMap)
          Decodes a set of strings of the form SequentialBitstreamArchive.CompressionFlags.Component:SequentialBitstreamArchive.CompressionFlags.Coding into a map, patching missing components with a given default map.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final Map<SequentialBitstreamArchive.CompressionFlags.Component,SequentialBitstreamArchive.CompressionFlags.Coding> DEFAULT
Default codings.

Constructor Detail

SequentialBitstreamArchive.CompressionFlags

public SequentialBitstreamArchive.CompressionFlags()
Method Detail

valueOf

public static Map<SequentialBitstreamArchive.CompressionFlags.Component,SequentialBitstreamArchive.CompressionFlags.Coding> valueOf(String[] flag)
Decodes a set of strings of the form SequentialBitstreamArchive.CompressionFlags.Component:SequentialBitstreamArchive.CompressionFlags.Coding into a map, patching missing components with default codings.

Parameters:
flag - an array of strings of the form SequentialBitstreamArchive.CompressionFlags.Component:SequentialBitstreamArchive.CompressionFlags.Coding.
Returns:
a map obtained by parsing flag; missing components are taken from DEFAULT.

valueOf

public static Map<SequentialBitstreamArchive.CompressionFlags.Component,SequentialBitstreamArchive.CompressionFlags.Coding> valueOf(String[] flag,
                                                                                                                                    Map<SequentialBitstreamArchive.CompressionFlags.Component,SequentialBitstreamArchive.CompressionFlags.Coding> defaultMap)
Decodes a set of strings of the form SequentialBitstreamArchive.CompressionFlags.Component:SequentialBitstreamArchive.CompressionFlags.Coding into a map, patching missing components with a given default map.

Parameters:
flag - an array of strings of the form SequentialBitstreamArchive.CompressionFlags.Component:SequentialBitstreamArchive.CompressionFlags.Coding.
defaultMap - a map containing defaults.
Returns:
a map obtained by parsing flag; missing components are taken from defaultMap.