Package geodress.model.reader

Examples of geodress.model.reader.GoogleMapsReader


   */
  @Test
  public void makeWritingTestDescription() throws Exception {
    /* use program */
    PictureBox testBox = new PictureBox(dir);
    testBox.catchAddresses(new GoogleMapsReader(), new EmptyProgress());
    testBox.writeAddresses(new ExifToolWriter(), InfoConstants.IMAGE_DESCRIPTION,
        new EmptyProgress());

    /* test beach.jpg */
    reader.setFile(testFileBeach);
 
View Full Code Here


  public void makeWritingTestComment() throws Exception {
    /* use program */
    ExifToolWriter writer = new ExifToolWriter();
    writer.setExifToolPath("exiftool");
    PictureBox testBox = new PictureBox(dir);
    testBox.catchAddresses(new GoogleMapsReader(), new EmptyProgress());
    testBox.writeAddresses(writer, InfoConstants.USER_COMMENT,
        new EmptyProgress());

    /* test beach.jpg */
    reader.setFile(testFileBeach);
 
View Full Code Here

                  "an individual Google Maps API key is used: "
                      + line.getOptionValue("k"));
              System.out
                  .println("An individual Google Maps API key is used: "
                      + line.getOptionValue("k") + ".");
              pictureBox.catchAddresses(new GoogleMapsReader(line
                  .getOptionValue("k")), new ProgressCli(
                  "Catch addresses from Google Maps"));
            } else {
              pictureBox
                  .catchAddresses(
                      new GoogleMapsReader(),
                      new ProgressCli(
                          "Catch addresses from Google Maps"));
            }

            /* print pictures */
 
View Full Code Here

     * Cmte. Luis Piedrabuena 600-699, Río Grande, Tierra del Fuego,
     * Argentina
     */
    testCoordinate3 = new Coordinate(-53.784956, -67.703286);

    testReader = new GoogleMapsReader();
  }
View Full Code Here

  public MenuBar(GeoDressGui parent) {
    this.parentWindow = parent;
    logger = Logging.getLogger(this.getClass().getName());

    /* create readers and writers */
    googleMapsReader = new GoogleMapsReader();
    writer = new ExifToolWriter();

    /* ========== File ========== */
    JMenu menu = new JMenu("File");
    menu.setMnemonic(KeyEvent.VK_F);
View Full Code Here

TOP

Related Classes of geodress.model.reader.GoogleMapsReader

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.