Package com.altibase.document.installer
Class InstallerConsole
java.lang.Object
com.altibase.document.installer.InstallerConsole
설치 도구의 콘솔 입출력을 처리하는 클래스
플랫폼 호환성을 고려하여 System.console()을 사용
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaskConfirmation(String aPrompt) 확인 질문 (Y/N)static InstallerConsolevoid구분선 출력voidprintError(String aMessage) 오류 메시지 출력void정보 메시지 출력void일반 메시지 출력voidprintSuccess(String aMessage) 성공 메시지 출력voidprintWarning(String aMessage) 경고 메시지 출력텍스트를 입력받음readPassword(String aPrompt) 비밀번호를 입력받음 (에코 끄기)readPasswordWithConfirmation(String aPrompt) 비밀번호를 입력받고 확인 (일치할 때까지 반복)
-
Method Details
-
getInstance
-
readPassword
비밀번호를 입력받음 (에코 끄기)- Throws:
IOException
-
readPasswordWithConfirmation
비밀번호를 입력받고 확인 (일치할 때까지 반복)- Throws:
IOException
-
readInput
텍스트를 입력받음- Throws:
IOException
-
askConfirmation
확인 질문 (Y/N)- Throws:
IOException
-
printInfo
정보 메시지 출력 -
printSuccess
성공 메시지 출력 -
printWarning
경고 메시지 출력 -
printError
오류 메시지 출력 -
println
일반 메시지 출력 -
printDivider
public void printDivider()구분선 출력
-