public class JWFRenderHeaderReader {
public JWFRenderHeader readRenderHeader(String pAbsolutePath) {
try {
ObjectInputStream in = new ObjectInputStream(new FileInputStream(pAbsolutePath));
try {
JWFRenderFileHeader header = (JWFRenderFileHeader) in.readObject();
Flame flame = (Flame) in.readObject();
return new JWFRenderHeader(header, flame);
}
finally {
in.close();