Package io.github.enxign.shed.properties
Class PropSite
java.lang.Object
io.github.enxign.shed.properties.PropSite
PropSeed
- Since:
- 2021-02-01
- Version:
- 1.0
수정일 수정자 수정내용 ---------- --------- ------------------------------- 2021-02-01 first create
- Author:
- enxign
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected PropInfoDTO
관리 환경설정값 저장protected InputStream
관리 환경설정 읽어오기 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionProperties 객체 반환getProperties
(String key) Properties에서 키에 해당하는 값을 반환개별 사이트 설정 속성 읽어오기boolean
Properties가 null인지 확인boolean
개별 사이트 설정 속성이 존재하는지 확인void
Properties를 파일에 저장void
setPropertyValue
(String key, String value) Properties에 키와 값을 설정
-
Field Details
-
seedProp
관리 환경설정 읽어오기 -
infoProp
관리 환경설정값 저장
-
-
Constructor Details
-
PropSite
PropSeed 생성자- Parameters:
path
- 파일 경로name
- 파일 이름- Throws:
IOException
- 예외처리
-
-
Method Details
-
getProperties
Properties 객체 반환- Returns:
- Properties 객체
-
getProperties
Properties에서 키에 해당하는 값을 반환- Parameters:
key
- 키- Returns:
- 값
-
setPropertyValue
Properties에 키와 값을 설정- Parameters:
key
- 키value
- 값
-
isProperties
public boolean isProperties()Properties가 null인지 확인- Returns:
- true if properties is not null, false otherwise
-
saveProperties
Properties를 파일에 저장- Throws:
IOException
- 예외처리
-
getProperty
개별 사이트 설정 속성 읽어오기- Returns:
- PropSiteDTO
-
isProperty
public boolean isProperty()개별 사이트 설정 속성이 존재하는지 확인- Returns:
- true if property exists, false otherwise
-