public void addLog ( String content , String logName ) throws Exception { String name = "sos_logs/" + logName ; this . add ( new ByteArrayInputStream ( content . getBytes ( StandardCharsets . UTF_8 ) ) , name ) ; }
Adds content to the zipfile in a file named logName