public abstract class AbstractFileType<T> extends Object implements Serializable
Modifier | Constructor and Description |
---|---|
protected |
AbstractFileType(String version,
T object) |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
doPopulateEntry(Map<String,Serializable> properties) |
protected abstract void |
doPopulateProperties(Map<String,Serializable> properties) |
protected void |
doReadObject(ObjectInputStream s) |
protected void |
doWriteObject(ObjectOutputStream s) |
protected T |
getEntry() |
String |
getType() |
String |
getVersion() |
protected void doWriteObject(ObjectOutputStream s) throws Exception
Exception
protected abstract void doPopulateProperties(Map<String,Serializable> properties) throws Exception
Exception
protected void doReadObject(ObjectInputStream s) throws Exception
Exception
protected abstract T doPopulateEntry(Map<String,Serializable> properties) throws Exception
Exception
protected T getEntry()
public String getType()
public String getVersion()
Copyright © 2018. All rights reserved.