}
else if(properties instanceof InputStream) {
in = (InputStream)properties;
}
else {
throw new JasenException("Unexpected or empty properties type. Must be String, File or InputStream");
}
oin = new ObjectInputStream(in);
map = (JasenMap)oin.readObject();
}
catch (IOException e)
{
throw new JasenException(e);
}
catch (ClassNotFoundException e)
{
throw new JasenException(e);
}
finally
{
if(in != null) {
try