diff --git a/gclc/src/main/java/net/bigeon/gclc/manager/ConsoleInput.java b/gclc/src/main/java/net/bigeon/gclc/manager/ConsoleInput.java index 63b3945..125034a 100644 --- a/gclc/src/main/java/net/bigeon/gclc/manager/ConsoleInput.java +++ b/gclc/src/main/java/net/bigeon/gclc/manager/ConsoleInput.java @@ -72,7 +72,6 @@ package net.bigeon.gclc.manager; * #L% */ import java.io.IOException; -import java.io.InterruptedIOException; import java.util.function.Supplier; /** A console application input. @@ -94,7 +93,7 @@ public interface ConsoleInput extends AutoCloseable { /** Indicate to the input that is should interrompt the prompting, if possible. *
* The pending {@link #prompt()} or {@link #prompt(String)} operations should - * return immediately by throwing an InterruptedIOException. */ + * return immediately by throwing an java.io.InterruptedIOException. */ void interruptPrompt(); /** Test if the input is closed. @@ -109,7 +108,7 @@ public interface ConsoleInput extends AutoCloseable { * * @return the user inputed string * @throws IOException if the manager is closed or could not read the prompt - * @throws InterruptedIOException if the prompt was interrupted */ + * @throws java.io.InterruptedIOException if the prompt was interrupted */ String prompt() throws IOException; /** Prompt the user, with an allotated time to answer. @@ -117,7 +116,7 @@ public interface ConsoleInput extends AutoCloseable { * @param timeout the time to wait in milliseconds * @return the user inputed string, null if the timeout was reached * @throws IOException if the manager is closed or could not read the prompt - * @throws InterruptedIOException if the prompt was interrupted */ + * @throws java.io.InterruptedIOException if the prompt was interrupted */ String prompt(long timeout) throws IOException; /** Prompt the user, with a hint on what is prompted. @@ -125,7 +124,7 @@ public interface ConsoleInput extends AutoCloseable { * @param message the message to prompt the user * @return the user inputed string * @throws IOException if the manager is closed or could not read the prompt - * @throws InterruptedIOException if the prompt was interrupted */ + * @throws java.io.InterruptedIOException if the prompt was interrupted */ String prompt(String message) throws IOException; /** Prompt the user, with a hint on what is prompted and an allotated time to @@ -135,7 +134,7 @@ public interface ConsoleInput extends AutoCloseable { * @param message the message to prompt the user * @return the user inputed string, null if the timeout was reached * @throws IOException if the manager is closed or could not read the prompt - * @throws InterruptedIOException if the prompt was interrupted */ + * @throws java.io.InterruptedIOException if the prompt was interrupted */ String prompt(String message, long timeout) throws IOException; /** Set a prompting prefix.