public class LayoutIOManager extends Object
Constructor and Description |
---|
LayoutIOManager() |
Modifier and Type | Method and Description |
---|---|
void |
deRegisterLayout(ImageNodeLayout layout)
DeRegister a specific type of Layout, it will no longer be available.
|
ImageNodeLayout |
readLayout(ObjectInputStream os,
Object currentobject,
DataSetManager dsm)
Read a Layout from a stream
|
void |
registerLayout(ImageNodeLayout layout)
Register a specific type of Layout.
|
void |
writeLayout(ImageNodeLayout layout,
ObjectOutputStream os) |
public void registerLayout(ImageNodeLayout layout)
layout
- the layout to registerpublic void deRegisterLayout(ImageNodeLayout layout)
layout
- The NodeLayout type to deregisterpublic ImageNodeLayout readLayout(ObjectInputStream os, Object currentobject, DataSetManager dsm) throws IOException
os
- the stream to read fromcurrentobject
- the current objectdsm
- the Datasetmanager to store info toIOException
- if errors occur during IOpublic void writeLayout(ImageNodeLayout layout, ObjectOutputStream os) throws IOException
IOException
Copyright © 2018. All rights reserved.