Пример #1
0
 protected void daemonClose() {
   try {
     if (m_out != null) {
       m_out.flush();
       m_out.close();
       m_out = null;
     }
   } catch (IOException e) {
   }
 }
Пример #2
0
 protected void daemonWrite(byte[] data) {
   try {
     if (m_out == null) {
       m_out = new FileOutputStream(m_sFilePrinter); // No poner append = true.
     }
     m_out.write(data);
   } catch (IOException e) {
   }
 }