public class Model2FileBinarySerializer extends Object
| Constructor and Description |
|---|
Model2FileBinarySerializer() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
id(T m) |
Model |
load(File f) |
Model |
load(Model m,
File f) |
protected T |
loadHeader(AutoBuffer ab) |
void |
save(Model m,
File f) |
protected AutoBuffer |
saveHeader(T m,
AutoBuffer ab) |
public void save(Model m, File f) throws IOException
IOExceptionpublic Model load(File f) throws IOException
IOExceptionpublic Model load(Model m, File f) throws IOException
IOExceptionprotected int id(T m)
protected AutoBuffer saveHeader(T m, AutoBuffer ab)
protected T loadHeader(AutoBuffer ab)
Copyright © 2013–2014 0xdata. All rights reserved.