Class InstallerConsole

java.lang.Object
com.altibase.document.installer.InstallerConsole

public class InstallerConsole extends Object
설치 도구의 콘솔 입출력을 처리하는 클래스 플랫폼 호환성을 고려하여 System.console()을 사용
  • Method Details

    • getInstance

      public static InstallerConsole getInstance()
    • readPassword

      public String readPassword(String aPrompt) throws IOException
      비밀번호를 입력받음 (에코 끄기)
      Throws:
      IOException
    • readPasswordWithConfirmation

      public String readPasswordWithConfirmation(String aPrompt) throws IOException
      비밀번호를 입력받고 확인 (일치할 때까지 반복)
      Throws:
      IOException
    • readInput

      public String readInput(String aPrompt) throws IOException
      텍스트를 입력받음
      Throws:
      IOException
    • askConfirmation

      public boolean askConfirmation(String aPrompt) throws IOException
      확인 질문 (Y/N)
      Throws:
      IOException
    • printInfo

      public void printInfo(String aMessage)
      정보 메시지 출력
    • printSuccess

      public void printSuccess(String aMessage)
      성공 메시지 출력
    • printWarning

      public void printWarning(String aMessage)
      경고 메시지 출력
    • printError

      public void printError(String aMessage)
      오류 메시지 출력
    • println

      public void println(String aMessage)
      일반 메시지 출력
    • printDivider

      public void printDivider()
      구분선 출력