Package org.eclipse.ecf.example.collab.share.io

Examples of org.eclipse.ecf.example.collab.share.io.FileTransferParams


  protected void readStreamAndSend(java.io.InputStream local, String fileName, Date startDate, ID target, final boolean launch) {
    try {
      final ID eclipseStageID = IDFactory.getDefault().createStringID(org.eclipse.ecf.example.collab.share.EclipseCollabSharedObject.ID);
      final java.io.BufferedInputStream ins = new java.io.BufferedInputStream(local);
      final java.io.File remoteFile = new File((new File(fileName)).getName());
      final FileTransferParams sp = new FileTransferParams(remoteFile, getChunkPreference(), getDelayPreference(), null, true, -1, null);
      final Object[] args = {view, target, ins, sp, eclipseStageID};
      // Do it
      new Thread(new Runnable() {
        public void run() {
          if (launch) {
View Full Code Here

TOP

Related Classes of org.eclipse.ecf.example.collab.share.io.FileTransferParams

Copyright © 2018 www.massapicom. 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.