Package primarydatamanager.mirrorupdater.data

Examples of primarydatamanager.mirrorupdater.data.FileDataTarget


        String user = getProperty(prop, "dataTarget.user");
        String password = getProperty(prop, "dataTarget.password");
        mDataTarget = new FtpDataTarget(url, path, port, user, password);
      } else if (type.equals("file")) {
        String dir = getProperty(prop, "dataTarget.dir");
        mDataTarget = new FileDataTarget(new File(dir));
      } else {
        throw new UpdateException("dataTarget.type must be either 'ftp' or 'file'");
      }
    }
    catch (Exception exc) {
View Full Code Here


  }



  public DataTarget getDataTarget() {
    return new FileDataTarget(new File("testmirror"));
  }
View Full Code Here

    }
   
    String[] groupNames = groupNameList.split(":");
   
    DataSource source = new HttpDataSource("http://tvbrowser.dyndns.tv");
    DataTarget target = new FileDataTarget(new File("."));
   
    MirrorVisualizer visualizer = new HtmlMirrorVisualizer(source, target, groupNames);
    visualizer.visualize();
   
  }
View Full Code Here

TOP

Related Classes of primarydatamanager.mirrorupdater.data.FileDataTarget

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.