Version 2.0.0: update sources
[jvcard.git] / src / com / googlecode / lanterna / gui2 / dialogs / TextInputDialogResultValidator.java
diff --git a/src/com/googlecode/lanterna/gui2/dialogs/TextInputDialogResultValidator.java b/src/com/googlecode/lanterna/gui2/dialogs/TextInputDialogResultValidator.java
deleted file mode 100644 (file)
index 9dee606..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-package com.googlecode.lanterna.gui2.dialogs;
-
-/**
- * Interface to implement for custom validation of text input in a {@code TextInputDialog}
- * @author Martin
- */
-public interface TextInputDialogResultValidator {
-    /**
-     * Tests the content in the text box if it is valid or not
-     * @param content Current content of the text box
-     * @return {@code null} if the content is valid, or an error message explaining what's wrong with the content
-     * otherwise
-     */
-    String validate(String content);
-}