Examples of writeAddresses()


Examples of geodress.model.PictureBox.writeAddresses()

  @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);
    String testedAddress = reader.getData(InfoConstants.IMAGE_DESCRIPTION);
View Full Code Here

Examples of geodress.model.PictureBox.writeAddresses()

    /* 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);
    String testedAddress = reader.getData(InfoConstants.USER_COMMENT);
View Full Code Here

Examples of geodress.model.PictureBox.writeAddresses()

            if (line.getOptionValue("w").contains(WRITE_TO_COMMENT)) {
              field = InfoConstants.USER_COMMENT;
            }

            /* write data */
            pictureBox.writeAddresses(writer, field,
                new ProgressCli(
                    "Writing addresses to picture files"));
          }
        }

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.