*/
public class Main {
static public final String APPLICATION_TITLE = "jVcard";
- static public final String APPLICATION_VERSION = "1.0";
+ static public final String APPLICATION_VERSION = "1.0-dev";
static private final int ERR_NO_FILE = 1;
static private final int ERR_SYNTAX = 2;
File f = new File(dir, filename);
if (f.exists()) {
+ System.out.println("Loading " + f);
try {
String b64 = StringUtils.fromImage(ImageIO
.read(f));
if (photo != null) {
String filename = contact.toString(format, "");
File f = new File(dir, filename + ".png");
+ System.out.println("Saving " + f);
try {
ImageIO.write(
StringUtils.toImage(photo.getValue()),