|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object egovframework.rfc3.common.crypt.ByteBuffer
public final class ByteBuffer
Constructor Summary | |
---|---|
ByteBuffer()
byte[]를 가지지 않고, 초기 용량이 16 문자인 byte buffer 를 생성한다. |
|
ByteBuffer(byte[] bytes)
지정된 byte[] 초기화된 byte buffer 를 생성한다. |
|
ByteBuffer(int length)
byte[]를 가지지 않고, 지정된 초기 용량을 가지는 byte buffer 를 생성한다. |
|
ByteBuffer(java.lang.String string)
지정된 String의 byte 배열로 초기화해서 byte buffer를 생성한다. |
Method Summary | |
---|---|
ByteBuffer |
append(boolean b)
|
ByteBuffer |
append(byte c)
|
ByteBuffer |
append(byte[] str)
|
ByteBuffer |
append(byte[] str,
int offset,
int len)
|
ByteBuffer |
append(ByteBuffer sb)
|
ByteBuffer |
append(char c)
|
ByteBuffer |
append(double d)
|
ByteBuffer |
append(float f)
|
ByteBuffer |
append(int i)
|
ByteBuffer |
append(long l)
|
ByteBuffer |
append(java.lang.Object obj)
|
ByteBuffer |
append(java.lang.String str)
|
byte |
byteAt(int index)
|
int |
capacity()
버퍼의 전체 크기를 돌려준다. |
ByteBuffer |
delete(int start,
int end)
|
ByteBuffer |
deleteByteAt(int index)
|
void |
ensureCapacity(int minimumCapacity)
용량이 지정된 최소치 이상이 되는 것을 보증합니다. |
void |
getBytes(int srcBegin,
int srcEnd,
byte[] dst,
int dstBegin)
|
int |
indexOf(java.lang.String str)
|
int |
indexOf(java.lang.String str,
int fromIndex)
byte[] 이 문자열인 경우만 사용할 것, |
ByteBuffer |
insert(int offset,
boolean b)
|
ByteBuffer |
insert(int offset,
byte c)
|
ByteBuffer |
insert(int offset,
byte[] str)
|
ByteBuffer |
insert(int index,
char[] str,
int offset,
int len)
|
ByteBuffer |
insert(int offset,
double d)
|
ByteBuffer |
insert(int offset,
float f)
|
ByteBuffer |
insert(int offset,
int i)
|
ByteBuffer |
insert(int offset,
long l)
|
ByteBuffer |
insert(int offset,
java.lang.Object obj)
|
ByteBuffer |
insert(int offset,
java.lang.String str)
|
int |
lastIndexOf(java.lang.String str)
byte[] 이 문자열인 경우만 사용할 것, |
int |
lastIndexOf(java.lang.String str,
int fromIndex)
|
int |
length()
현재 byte[]로 저장된 데이터의 길이를 돌려준다. |
ByteBuffer |
replace(char oldChar,
char newChar)
|
ByteBuffer |
replace(int start,
int end,
java.lang.String str)
|
ByteBuffer |
reverse()
|
void |
setByteAt(int index,
byte ch)
|
void |
setLength(int newLength)
|
java.lang.String |
substring(int start)
|
java.lang.String |
substring(int start,
int end)
|
byte[] |
toBytes()
|
java.lang.String |
toHexString()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ByteBuffer()
public ByteBuffer(int length)
length
- the initial capacity.
java.lang.NegativeArraySizeException
- if the length
argument is less than
0
.public ByteBuffer(byte[] bytes)
bytes
- public ByteBuffer(java.lang.String string)
string
- Method Detail |
---|
public int length()
public int capacity()
public void ensureCapacity(int minimumCapacity)
minimumCapacity
- 보증하고 싶은 최소 용량public void setLength(int newLength)
public byte byteAt(int index)
public void getBytes(int srcBegin, int srcEnd, byte[] dst, int dstBegin)
public void setByteAt(int index, byte ch)
public ByteBuffer append(java.lang.Object obj)
public ByteBuffer append(java.lang.String str)
public ByteBuffer append(ByteBuffer sb)
public ByteBuffer append(byte[] str)
public ByteBuffer append(byte[] str, int offset, int len)
public ByteBuffer append(boolean b)
public ByteBuffer append(byte c)
public ByteBuffer append(char c)
public ByteBuffer append(int i)
public ByteBuffer append(long l)
public ByteBuffer append(float f)
public ByteBuffer append(double d)
public ByteBuffer delete(int start, int end)
public ByteBuffer deleteByteAt(int index)
public ByteBuffer replace(int start, int end, java.lang.String str)
public ByteBuffer replace(char oldChar, char newChar)
public java.lang.String substring(int start)
public java.lang.String substring(int start, int end)
public ByteBuffer insert(int index, char[] str, int offset, int len)
public ByteBuffer insert(int offset, java.lang.Object obj)
public ByteBuffer insert(int offset, java.lang.String str)
public ByteBuffer insert(int offset, byte[] str)
public ByteBuffer insert(int offset, boolean b)
public ByteBuffer insert(int offset, byte c)
public ByteBuffer insert(int offset, int i)
public ByteBuffer insert(int offset, long l)
public ByteBuffer insert(int offset, float f)
public ByteBuffer insert(int offset, double d)
public int indexOf(java.lang.String str)
public int indexOf(java.lang.String str, int fromIndex)
str
- fromIndex
-
public int lastIndexOf(java.lang.String str)
str
-
public int lastIndexOf(java.lang.String str, int fromIndex)
public ByteBuffer reverse()
public java.lang.String toString()
toString
in class java.lang.Object
public byte[] toBytes()
public java.lang.String toHexString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |