diff --git a/importPicture/src/osm/jp/gpx/ImportPicture.java b/importPicture/src/osm/jp/gpx/ImportPicture.java index 75041f4..c53411a 100644 --- a/importPicture/src/osm/jp/gpx/ImportPicture.java +++ b/importPicture/src/osm/jp/gpx/ImportPicture.java @@ -224,6 +224,12 @@ System.out.println("複数のGPXファイルがあるときには、'IMG.OUTPUT_ALL'オプションは指定できません。"); return; } + + java.util.Arrays.sort(files, new java.util.Comparator() { + public int compare(File file1, File file2){ + return file1.getName().compareTo(file2.getName()); + } + }); for (File file : files) { if (file.isFile()) { String filename = file.getName().toUpperCase(); diff --git a/importPicture/test/osm/jp/gpx/TarGz.java b/importPicture/test/osm/jp/gpx/TarGz.java index b203ddb..19559b3 100644 --- a/importPicture/test/osm/jp/gpx/TarGz.java +++ b/importPicture/test/osm/jp/gpx/TarGz.java @@ -17,7 +17,7 @@ * Apache Commons Compressライブラリ * commons-compress-1.14.jar */ -public class TarGz +public abstract class TarGz { public static void main(String[] args) throws IOException { File baseDir = new File("testdata/cameradata");