in java/src/main/java/com/alexa/awisapi/AWIS.java [238:256]
private static void SerializeCredentials(Credentials credentials) throws java.io.IOException
{
ObjectOutputStream oos = null;
FileOutputStream fout = null;
try{
fout = new FileOutputStream(AWIS.credentialsFile, true);
oos = new ObjectOutputStream(fout);
oos.writeObject(credentials);
} catch (Exception ex) {
ex.printStackTrace();
} finally {
if(oos != null){
oos.close();
}
if (fout != null) {
fout.close();
}
}
}