Examples of finish()


Examples of net.sf.jazzlib.ZipOutputStream.finish()

          //e.printStackTrace();
        }
      }
     
     
      zipOutputStream.finish();
    } catch (Exception e) {
      e.printStackTrace();
    } finally {
      if (zipOutputStream != null) {
        zipOutputStream.close();
View Full Code Here

Examples of net.sf.samtools.BAMIndexer.finish()

      BAMIndexer indexer = new BAMIndexer(indexFile,
          reader.getFileHeader());
      for (SAMRecord record : reader) {
        indexer.processAlignment(record);
      }
      indexer.finish();
      reader.close();
    }

  }
View Full Code Here

Examples of net.sourceforge.jivalo.fw.lite.transaction.UserTransactionImpl.finish()

   
    if (isTransactionInitiatedByThis()) {
      UserTransactionImpl transaction =
          (UserTransactionImpl)ctx.getUserTransaction();
      if (transaction != null) {
          transaction.finish();
          ContainerTransactionManager.removeContainerTransaction(transaction);
      }
    }
  }
View Full Code Here

Examples of net.yacy.cora.protocol.http.HTTPClient.finish()

                // if opened ...
//                if(res != null) {
//                    // client cut proxy connection, abort download
//                    res.abort();
//                }
              client.finish();
                handleProxyException(se,conProp,respond,url);
            } finally {
                // if opened ...
//                if(res != null) {
//                    // ... close connection
View Full Code Here

Examples of net.yacy.kelondro.io.ByteCountOutputStream.finish()

            } catch (final Exception ee) {
                forceConnectionClose(conProp);
            }           
        } finally {
            try { if(countedRespond != null) countedRespond.flush(); else if(respond != null) respond.flush(); } catch (final Exception e) {}
            if (countedRespond != null) countedRespond.finish();
           
            conProp.put(HeaderFramework.CONNECTION_PROP_REQUEST_END, Long.valueOf(System.currentTimeMillis()));
            conProp.put(HeaderFramework.CONNECTION_PROP_PROXY_RESPOND_SIZE,(countedRespond != null) ? Long.toString(countedRespond.getCount()) : -1L);
            logProxyAccess(conProp);
        }
View Full Code Here

Examples of nexj.core.meta.integration.MessagePartMapping.finish()

            MessagePart child = composite.getPart(i);
            MessagePartMapping mapping = child.getMapping();

            if (mapping != null)
            {
               mapping.finish(child);
            }
         }
      }

      if (part.equals(part.getRoot()) && part instanceof CompositeMessagePart)
View Full Code Here

Examples of nexj.core.meta.integration.Transformation.finish()

         {
            Transformation transformation = (Transformation)itr.next();

            try
            {
               transformation.finish(m_machine);
            }
            catch (UncheckedException ex)
            {
               m_helper.addException(ex);
            }
View Full Code Here

Examples of nexj.core.meta.integration.format.object.ObjectMessagePartMapping.finish()

      surgeonMapping2.init(surgeonPart2);

      contactMapping.finish(contactPart);
      doctorMapping.finish(doctorPart);
      surgeonMapping1.finish(surgeonPart1);
      surgeonMapping2.finish(surgeonPart2);

      assertEquals(contactMsg, contactMapping.findMessage(contactClass));
      assertEquals(doctorMsg, contactMapping.findMessage(doctorClass));
      assertEquals(doctorMsg, contactMapping.findMessage(surgeonClass));
      assertEquals(doctorMsg, doctorMapping.findMessage(surgeonClass));
View Full Code Here

Examples of org.ajax4jsf.resource.image.animatedgif.AnimatedGifEncoder.finish()

          encoder.addFrame(frame);
          if (delays != null && delays.length > currFrameIndex) {
            encoder.setDelay(delays[currFrameIndex]);
          }
        }
        encoder.finish();
      }
      output.flush();
      output.close();
    } catch (IOException e) {
      // TODO Auto-generated catch block
View Full Code Here

Examples of org.apache.ajp.Ajp13.finish()

                ajp13.sendHeaders(200, headers);

                byte[] b = message.getBytes();
                ajp13.doWrite(b, 0, b.length);

                ajp13.finish();

                request.recycle();
                headers.recycle();
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.