View Javadoc

1   package fr.in2p3.jsaga.adaptor.data;
2   
3   import org.globus.ftp.Session;
4   import org.globus.ftp.exception.FTPException;
5   import org.globus.io.streams.FTPInputStream;
6   
7   import java.io.IOException;
8   
9   /* ***************************************************
10   * *** Centre de Calcul de l'IN2P3 - Lyon (France) ***
11   * ***             http://cc.in2p3.fr/             ***
12   * ***************************************************
13   * File:   GsiftpInputStream
14   * Author: Sylvain Reynaud (sreynaud@in2p3.fr)
15   * Date:   29 juin 2009
16   * ***************************************************
17   * Description:                                      */
18  /**
19   *
20   */
21  public class GsiftpInputStream extends FTPInputStream {
22      public GsiftpInputStream(GsiftpClient client, String file) throws IOException, FTPException {
23          super.ftp = client;
24          boolean passive = true;
25          super.get(passive, Session.TYPE_IMAGE, file);
26      }
27  
28  }