+ public File getFile() {
+ return file;
+ }
+
+ /**
+ * Return the date of the last modification for this {@link Card} (or -1 if
+ * unknown/new).
+ *
+ * @return the last modified date
+ */
+ public long getLastModified() {
+ return lastModified;
+ }
+
+ /**
+ * Check if this {@link Card} is remote.
+ *
+ * @return TRUE if this {@link Card} is remote
+ */
+ public boolean isRemote() {
+ return remote;
+ }
+
+ /**
+ * Set the remote option on this {@link Card}.
+ *
+ * @param remote
+ * TRUE if this {@link Card} is remote
+ */
+ public void setRemote(boolean remote) {
+ this.remote = remote;
+ }
+
+ @Override
+ public String toString() {
+ return toString(Format.VCard21);
+ }
+
+ @Override
+ public String getId() {
+ return "" + name;
+ }
+
+ @Override
+ public String getState() {
+ return "" + name + format;