public class EgovFixedByteTokenizer extends EgovAbstractByteLineTokenizer
개정이력(Modification Information)
수정일 수정자 수정내용
------- -------- ----------------
2012.08.20 배치실행개발팀 최초 생성
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_CHARSET |
| Constructor and Description |
|---|
EgovFixedByteTokenizer() |
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
doTokenize(byte[] line)
주어진 문자열을 잘라서 토큰을 생성
line. |
protected List<String> |
doTokenize(byte[] byteString,
String encoding)
주어진 문자열을 Encoding을 적용하여 잘라서 토큰을 생성
line. |
void |
setByteEncoding(String encoding)
Encoding 타입을 세팅
|
void |
setColumns(org.springframework.batch.item.file.transform.Range[] ranges)
범위값을 세팅
|
tokenize, tokenizepublic static final String DEFAULT_CHARSET
public void setColumns(org.springframework.batch.item.file.transform.Range[] ranges)
ranges - public void setByteEncoding(String encoding)
encoding - protected List<String> doTokenize(byte[] line) throws Exception
line.doTokenize in class EgovAbstractByteLineTokenizerline - 토큰의 대상이 되는 문자열 (can be null)org.springframework.batch.item.file.transform.IncorrectLineLengthException - if line length is greater than or less than the max range
set.Exceptionprotected List<String> doTokenize(byte[] byteString, String encoding) throws Exception
line.doTokenize in class EgovAbstractByteLineTokenizerline - the line to be tokenised (can be null)org.springframework.batch.item.file.transform.IncorrectLineLengthException - if line length is greater than or less than the max range
set.ExceptionCopyright © 2015. All rights reserved.