Examples of SanselanReader


Examples of geodress.model.reader.SanselanReader

    testFileSky = File.createTempFile("geodress.tests.ExifWriterTest_"
        + System.currentTimeMillis(), ".jpg");
    FileOperations.copy(testPictureWithExifSky, testFileSky);

    writer = new ExifToolWriter();
    reader = new SanselanReader();
  }
View Full Code Here

Examples of geodress.model.reader.SanselanReader

    testFileField = new File(dir.getAbsolutePath() + File.separator
        + System.currentTimeMillis() + ".jpg");
    testFileField.deleteOnExit();
    FileOperations.copy(testPictureWithoutExifSign, testFileField);

    reader = new SanselanReader();
  }
View Full Code Here

Examples of geodress.model.reader.SanselanReader

            + " to picture box");
        FileFilter filter = new PictureFilter();
        if (entry.isFile() && filter.accept(entry)) {
          try {
            pic = new Picture(entry);
            pic.registerMetaDataReader(new SanselanReader());
            pictureList.add(pic);
          } catch (FileTypeNotSupportedException ftnse) {
            logger.log(Level.FINER, "file type of "
                + entry.getName() + " is not supported", ftnse);
            /* ignore file and do nothing */
 
View Full Code Here

Examples of geodress.model.reader.SanselanReader

  @Before
  public void setUp() throws Exception {
    /* latitude: +39.50972222 longitude: +2.74916667 */
    testPictureWithExifBeach = new Picture(new File("testfiles"
        + File.separator + "beach.jpg"));
    testPictureWithExifBeach.registerMetaDataReader(new SanselanReader());

    /* latitude: +39.50976 longitude: +2.74928 */
    testPictureWithExifSky = new Picture(new File("testfiles"
        + File.separator + "sky.jpg"));
    testPictureWithExifSky.registerMetaDataReader(new SanselanReader());

    testPictureWithoutExif = new Picture(new File("testfiles"
        + File.separator + "field.jpg"));
    testPictureWithoutExif.registerMetaDataReader(new SanselanReader());
  }
View Full Code Here

Examples of geodress.model.reader.SanselanReader

    testFileSky = File.createTempFile("geodress.tests.ExifWriterTest_"
        + System.currentTimeMillis(), ".jpg");
    FileOperations.copy(testPictureWithExifSky, testFileSky);

    writer = new SanselanWriter();
    reader = new SanselanReader();
  }
View Full Code Here

Examples of geodress.model.reader.SanselanReader

    testPictureWithExifSky = new File("testfiles" + File.separator
        + "sky.jpg");
    testPictureWithoutExifField = new File("testfiles" + File.separator
        + "field.jpg");

    reader = new SanselanReader();
  }
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.