public class ColGroupIO extends Object
Constructor and Description |
---|
ColGroupIO() |
Modifier and Type | Method and Description |
---|---|
static List<ColGroup> |
readGroups(DataInput in)
Read groups from a file.
|
static void |
writeGroups(DataOutput out,
List<ColGroup> colGroups)
Writes the ColGroups out to the DataOutput.
|
public static List<ColGroup> readGroups(DataInput in) throws IOException
in
- The Data input object to read from.IOException
- Throws IO Exception if the in refuses to read data.public static void writeGroups(DataOutput out, List<ColGroup> colGroups) throws IOException
out
- The DataOutput the ColGroups are written tocolGroups
- List of the ColGroups to write to file.IOException
- Throws IO Exception if the out refuses to write.Copyright © 2020 The Apache Software Foundation. All rights reserved.