zipit
Class ZipItProperty

java.lang.Object
  extended byzipit.ZipItProperty

public class ZipItProperty
extends java.lang.Object

Singleton properties ZipIt.properties 파일은 CLASSPATH에 위치하여야합니다.

Version:
1.0.2.0
Author:
(주)수지원넷소프트 이명환

Method Summary
static ZipItProperty getInstance()
           
 java.lang.String getProperty(java.lang.String key)
           
 java.lang.String getServerIP()
           
 java.lang.String getServerIP(int n)
          정제엔진 서버IP 주소(이중화 Failover)
 int getServerIPCount()
          다중 서버IP 수
 int getServerPort()
           
 int getServerPort(int n)
           
 int getServerPortCount()
          다중 서버포트 수
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ZipItProperty getInstance()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

getServerIP

public java.lang.String getServerIP()
                             throws java.lang.Exception
Returns:
정제엔진 서버IP 주소
Throws:
java.lang.Exception

getServerIP

public java.lang.String getServerIP(int n)
                             throws java.lang.Exception
정제엔진 서버IP 주소(이중화 Failover)

Parameters:
n - n번째 서버IP
Returns:
Throws:
java.lang.Exception

getServerIPCount

public int getServerIPCount()
                     throws java.lang.Exception
다중 서버IP 수

Returns:
Throws:
java.lang.Exception

getServerPort

public int getServerPort()
                  throws java.lang.Exception
Returns:
정제엔진 서버포트 번호
Throws:
java.lang.Exception

getServerPort

public int getServerPort(int n)
                  throws java.lang.Exception
Parameters:
n - n번째 서버포트
Returns:
정제엔진 서버포트 번호
Throws:
java.lang.Exception

getServerPortCount

public int getServerPortCount()
                       throws java.lang.Exception
다중 서버포트 수

Returns:
Throws:
java.lang.Exception

getProperty

public java.lang.String getProperty(java.lang.String key)
Parameters:
key - 환경설정 키 명칭
Returns:
환경설정 값