|
JavaTM Platform Standard Ed. 6 |
|||||||||
전 다음 | 프레임 있어 프레임 없음 |
ByteBuffer 를 사용하고 있는 패키지 | |
---|---|
java.lang | Java 프로그램 언어의 설계해 기본적인 클래스를 제공합니다. |
java.nio | 데이터의 컨테이너인 버퍼에 대해 정의해, 그 외의 NIO 패키지의 개요 정보를 제공합니다. |
java.nio.channels | 입출력 조작을 실행할 수 있는 엔티티 (파일, 소켓등)에의 접속을 나타내는 채널이나, 다중화 된 비블록 입출력 조작용의 셀렉터를 정의합니다. |
java.nio.charset | 바이트와 Unicode 문자의 상호 변환을 실시하기 (위해)때문에, 캐릭터 세트, 디코더, 및 엔코더를 정의합니다. |
java.security | 시큐리티 시스템의 클래스와 인터페이스를 제공합니다. |
javax.crypto | 암호화 조작의 클래스와 인터페이스를 제공합니다. |
javax.net.ssl | 시큐어 소켓 패키지의 클래스를 제공합니다. |
java.lang 에서의 ByteBuffer 의 사용 |
---|
ByteBuffer 형의 파라미터를 가지는 java.lang 의 메소드 | |
---|---|
protected Class <? > |
ClassLoader. defineClass (String name,
ByteBuffer b,
ProtectionDomain protectionDomain)
옵션의 ProtectionDomain 를 사용해, ByteBuffer 를 Class 클래스의 인스턴스로 변환합니다. |
java.nio 에서의 ByteBuffer 의 사용 |
---|
java.nio 에서의 ByteBuffer 의 서브 클래스 | |
---|---|
class |
MappedByteBuffer
파일의 메모리 맵 영역을 내용으로 하는 다이렉트 byte 버퍼입니다. |
ByteBuffer 를 돌려주는 java.nio 의 메소드 | |
---|---|
static ByteBuffer |
ByteBuffer. allocate (int capacity)
새로운 byte 버퍼를 할당합니다. |
static ByteBuffer |
ByteBuffer. allocateDirect (int capacity)
새로운 다이렉트 byte 버퍼를 할당합니다. |
abstract ByteBuffer |
ByteBuffer. asReadOnlyBuffer ()
이 버퍼의 내용을 공유하는 새로운 read 전용 byte 버퍼를 작성합니다. |
abstract ByteBuffer |
ByteBuffer. compact ()
현재의 버퍼를 압축합니다 (옵션). |
abstract ByteBuffer |
ByteBuffer. duplicate ()
이 버퍼의 내용을 공유하는 새로운 byte 버퍼를 작성합니다. |
ByteBuffer |
ByteBuffer. get (byte[] dst)
상대 일괄 「get」메소드입니다. |
ByteBuffer |
ByteBuffer. get (byte[] dst,
int offset,
int length)
상대 일괄 「get」메소드입니다. |
ByteBuffer |
ByteBuffer. order (ByteOrder bo)
이 버퍼의 바이트 순서를 변경합니다. |
abstract ByteBuffer |
ByteBuffer. put (byte b)
상대 「put」메소드입니다 (옵션). |
ByteBuffer |
ByteBuffer. put (byte[] src)
상대 일괄 「put」메소드입니다 (옵션). |
ByteBuffer |
ByteBuffer. put (byte[] src,
int offset,
int length)
상대 일괄 「put」메소드입니다 (옵션). |
ByteBuffer |
ByteBuffer. put (ByteBuffer src)
상대 일괄 「put」메소드입니다 (옵션). |
abstract ByteBuffer |
ByteBuffer. put (int index,
byte b)
절대 「put」메소드입니다 (옵션). |
abstract ByteBuffer |
ByteBuffer. putChar (char value)
char 값를 기입하는 상대 「put」메소드입니다 (임의 조작). |
abstract ByteBuffer |
ByteBuffer. putChar (int index,
char value)
char 값를 기입하는 절대 「put」메소드입니다 (임의 조작). |
abstract ByteBuffer |
ByteBuffer. putDouble (double value)
double 치를 기입하는 상대 「put」메소드입니다 (임의 조작). |
abstract ByteBuffer |
ByteBuffer. putDouble (int index,
double value)
double 치를 기입하는 절대 「put」메소드입니다 (임의 조작). |
abstract ByteBuffer |
ByteBuffer. putFloat (float value)
float 치를 기입하는 상대 「put」메소드입니다 (임의 조작). |
abstract ByteBuffer |
ByteBuffer. putFloat (int index,
float value)
float 치를 기입하는 절대 「put」메소드입니다 (임의 조작). |
abstract ByteBuffer |
ByteBuffer. putInt (int value)
int 치를 기입하는 상대 「put」메소드입니다 (임의 조작). |
abstract ByteBuffer |
ByteBuffer. putInt (int index,
int value)
int 치를 기입하는 절대 「put」메소드입니다 (임의 조작). |
abstract ByteBuffer |
ByteBuffer. putLong (int index,
long value)
long 치를 기입하는 절대 「put」메소드입니다 (임의 조작). |
abstract ByteBuffer |
ByteBuffer. putLong (long value)
long 치를 기입하는 상대 「put」메소드입니다 (임의 조작). |
abstract ByteBuffer |
ByteBuffer. putShort (int index,
short value)
short 치를 기입하는 절대 「put」메소드입니다 (임의 조작). |
abstract ByteBuffer |
ByteBuffer. putShort (short value)
short 치를 기입하는 상대 「put」메소드입니다 (임의 조작). |
abstract ByteBuffer |
ByteBuffer. slice ()
이 버퍼의 공유의 서브 순서를 내용으로 하는 새로운 byte 버퍼를 작성합니다. |
static ByteBuffer |
ByteBuffer. wrap (byte[] array)
바이트 배열을 버퍼에 랩 합니다. |
static ByteBuffer |
ByteBuffer. wrap (byte[] array,
int offset,
int length)
바이트 배열을 버퍼에 랩 합니다. |
ByteBuffer 형의 파라미터를 가지는 java.nio 의 메소드 | |
---|---|
int |
ByteBuffer. compareTo (ByteBuffer that)
현재의 버퍼를 다른 버퍼와 비교합니다. |
ByteBuffer |
ByteBuffer. put (ByteBuffer src)
상대 일괄 「put」메소드입니다 (옵션). |
java.nio.channels 에서의 ByteBuffer 의 사용 |
---|
ByteBuffer 형의 파라미터를 가지는 java.nio.channels 의 메소드 | |
---|---|
abstract int |
FileChannel. read (ByteBuffer dst)
이 채널의 바이트 순서를 지정의 버퍼에 읽어들입니다. |
int |
ReadableByteChannel. read (ByteBuffer dst)
이 채널의 바이트 순서를 지정의 버퍼에 읽어들입니다. |
abstract int |
SocketChannel. read (ByteBuffer dst)
|
abstract int |
DatagramChannel. read (ByteBuffer dst)
이 채널로부터 데이터 그램을 읽어들입니다. |
long |
FileChannel. read (ByteBuffer [] dsts)
이 채널의 바이트 순서가 지정된 버퍼에 읽어들입니다. |
long |
ScatteringByteChannel. read (ByteBuffer [] dsts)
이 채널의 바이트 순서가 지정된 버퍼에 읽어들입니다. |
long |
SocketChannel. read (ByteBuffer [] dsts)
|
long |
DatagramChannel. read (ByteBuffer [] dsts)
이 채널로부터 데이터 그램을 읽어들입니다. |
abstract long |
FileChannel. read (ByteBuffer [] dsts,
int offset,
int length)
이 채널의 바이트 순서가 지정된 버퍼의 서브 순서에 읽어들입니다. |
long |
ScatteringByteChannel. read (ByteBuffer [] dsts,
int offset,
int length)
이 채널의 바이트 순서가 지정된 버퍼의 서브 순서에 읽어들입니다. |
abstract long |
SocketChannel. read (ByteBuffer [] dsts,
int offset,
int length)
|
abstract long |
DatagramChannel. read (ByteBuffer [] dsts,
int offset,
int length)
이 채널로부터 데이터 그램을 읽어들입니다. |
abstract int |
FileChannel. read (ByteBuffer dst,
long position)
이 채널의 바이트 순서를, 지정된 파일 위치로부터 버퍼에 읽어들입니다. |
abstract SocketAddress |
DatagramChannel. receive (ByteBuffer dst)
이 채널로부터 데이터 그램을 수신합니다. |
abstract int |
DatagramChannel. send (ByteBuffer src,
SocketAddress target)
이 채널로부터 데이터 그램을 송신합니다. |
abstract int |
FileChannel. write (ByteBuffer src)
이 채널의 바이트 순서를 지정의 버퍼로부터 써냅니다. |
int |
WritableByteChannel. write (ByteBuffer src)
이 채널의 바이트 순서를 지정의 버퍼로부터 써냅니다. |
abstract int |
SocketChannel. write (ByteBuffer src)
|
abstract int |
DatagramChannel. write (ByteBuffer src)
이 채널에 데이터 그램을 기입합니다. |
long |
FileChannel. write (ByteBuffer [] srcs)
이 채널의 바이트 순서가 지정된 버퍼로부터 써냅니다. |
long |
GatheringByteChannel. write (ByteBuffer [] srcs)
이 채널의 바이트 순서가 지정된 버퍼로부터 써냅니다. |
long |
SocketChannel. write (ByteBuffer [] srcs)
|
long |
DatagramChannel. write (ByteBuffer [] srcs)
이 채널에 데이터 그램을 기입합니다. |
abstract long |
FileChannel. write (ByteBuffer [] srcs,
int offset,
int length)
이 채널의 바이트 순서가 지정된 버퍼의 서브 순서로부터 써냅니다. |
long |
GatheringByteChannel. write (ByteBuffer [] srcs,
int offset,
int length)
이 채널의 바이트 순서가 지정된 버퍼의 서브 순서로부터 써냅니다. |
abstract long |
SocketChannel. write (ByteBuffer [] srcs,
int offset,
int length)
|
abstract long |
DatagramChannel. write (ByteBuffer [] srcs,
int offset,
int length)
이 채널에 데이터 그램을 기입합니다. |
abstract int |
FileChannel. write (ByteBuffer src,
long position)
지정된 버퍼의 바이트 순서를 이 채널의 지정된 파일 위치에 기입합니다. |
java.nio.charset 에서의 ByteBuffer 의 사용 |
---|
ByteBuffer 를 돌려주는 java.nio.charset 의 메소드 | |
---|---|
ByteBuffer |
Charset. encode (CharBuffer cb)
Unicode 문자를 이 캐릭터 세트로 표현된 바이트에 encode 하는 편리한 메소드입니다. |
ByteBuffer |
CharsetEncoder. encode (CharBuffer in)
단일의 입력 문자 버퍼의 컨텐츠를 새롭게 할당할 수 있었던 byte 버퍼내에 encode 하는 편리한 메소드입니다. |
ByteBuffer |
Charset. encode (String str)
캐릭터 라인을 이 캐릭터 세트로 표현된 바이트에 encode 하는 편리한 메소드입니다. |
ByteBuffer 형의 파라미터를 가지는 java.nio.charset 의 메소드 | |
---|---|
CharBuffer |
Charset. decode (ByteBuffer bb)
이 캐릭터 세트로 표현된 바이트를 Unicode 문자에 디코드하는 편리한 메소드입니다. |
CharBuffer |
CharsetDecoder. decode (ByteBuffer in)
단일의 입력 byte 버퍼의 컨텐츠를 새롭게 할당할 수 있었던 문자 버퍼내에 디코드하는 편리한 메소드입니다. |
CoderResult |
CharsetDecoder. decode (ByteBuffer in,
CharBuffer out,
boolean endOfInput)
지정된 입력 버퍼내의 바이트를 최대한 디코드해, 지정된 출력 버퍼에 결과를 기입합니다. |
protected abstract CoderResult |
CharsetDecoder. decodeLoop (ByteBuffer in,
CharBuffer out)
1 개이상의 바이트를 디코드해, 1 개 이상의 문자에 디코드합니다. |
CoderResult |
CharsetEncoder. encode (CharBuffer in,
ByteBuffer out,
boolean endOfInput)
지정된 입력 버퍼내의 문자를 최대한 encode 해, 지정된 출력 버퍼에 결과를 기입합니다. |
protected abstract CoderResult |
CharsetEncoder. encodeLoop (CharBuffer in,
ByteBuffer out)
1 개이상의 문자 1 개 이상의 바이트에 encode 합니다. |
CoderResult |
CharsetEncoder. flush (ByteBuffer out)
이 엔코더를 플래시 합니다. |
protected CoderResult |
CharsetEncoder. implFlush (ByteBuffer out)
이 엔코더를 플래시 합니다. |
java.security 에서의 ByteBuffer 의 사용 |
---|
ByteBuffer 형의 파라미터를 가지는 java.security 의 메소드 | |
---|---|
protected Class <? > |
SecureClassLoader. defineClass (String name,
ByteBuffer b,
CodeSource cs)
옵션의 CodeSource 를 사용해, ByteBuffer 를 Class 클래스의 인스턴스로 변환합니다. |
protected void |
MessageDigestSpi. engineUpdate (ByteBuffer input)
지정된 ByteBuffer 를 사용해 다이제스트를 갱신합니다. |
protected void |
SignatureSpi. engineUpdate (ByteBuffer input)
서명 또는 검증하는 데이터를, 지정된 ByteBuffer 를 사용해 갱신합니다. |
void |
MessageDigest. update (ByteBuffer input)
지정된 ByteBuffer 를 사용해 다이제스트를 갱신합니다. |
void |
Signature. update (ByteBuffer data)
서명 또는 검증하는 데이터를, 지정된 ByteBuffer 를 사용해 갱신합니다. |
javax.crypto 에서의 ByteBuffer 의 사용 |
---|
ByteBuffer 형의 파라미터를 가지는 javax.crypto 의 메소드 | |
---|---|
int |
Cipher. doFinal (ByteBuffer input,
ByteBuffer output)
단일의 부분으로부터 완성되는 조작으로 데이터를 암호화 또는 복호화 하는지, 복수의 부분으로부터 완성되는 조작을 종료합니다. |
protected int |
CipherSpi. engineDoFinal (ByteBuffer input,
ByteBuffer output)
단일의 부분으로부터 완성되는 조작으로 데이터를 암호화 또는 복호화 하는지, 복수의 부분으로부터 완성되는 조작을 종료합니다. |
protected void |
MacSpi. engineUpdate (ByteBuffer input)
ByteBuffer input 내의 input.position() 로부터 시작되는 input.remaining() 바이트를 처리합니다. |
protected int |
CipherSpi. engineUpdate (ByteBuffer input,
ByteBuffer output)
복수의 부분으로부터 완성되는 암호화 또는 복호화 조작 (이 암호의 초기화 방법에 의해 다르다)을 계속해, 다른 데이터 부분을 처리합니다. |
void |
Mac. update (ByteBuffer input)
ByteBuffer input 내의 input.position() 로부터 시작되는 input.remaining() 바이트를 처리합니다. |
int |
Cipher. update (ByteBuffer input,
ByteBuffer output)
복수의 부분으로부터 완성되는 암호화 또는 복호화 조작 (이 암호의 초기화 방법에 의해 다르다)을 계속해, 다른 데이터 부분을 처리합니다. |
javax.net.ssl 에서의 ByteBuffer 의 사용 |
---|
ByteBuffer 형의 파라미터를 가지는 javax.net.ssl 의 메소드 | |
---|---|
SSLEngineResult |
SSLEngine. unwrap (ByteBuffer src,
ByteBuffer dst)
SSL/TLS 네트워크 데이터를 plaintext의 어플리케이션 데이터 버퍼에 복호화 하려고 합니다. |
SSLEngineResult |
SSLEngine. unwrap (ByteBuffer src,
ByteBuffer [] dsts)
SSL/TLS 네트워크 데이터를 plaintext의 어플리케이션 데이터 버퍼의 순서에 복호화 하려고 합니다. |
SSLEngineResult |
SSLEngine. unwrap (ByteBuffer src,
ByteBuffer [] dsts)
SSL/TLS 네트워크 데이터를 plaintext의 어플리케이션 데이터 버퍼의 순서에 복호화 하려고 합니다. |
abstract SSLEngineResult |
SSLEngine. unwrap (ByteBuffer src,
ByteBuffer [] dsts,
int offset,
int length)
SSL/TLS 네트워크 데이터를 plaintext의 어플리케이션 데이터 버퍼의 서브 순서에 복호화 하려고 합니다. |
abstract SSLEngineResult |
SSLEngine. unwrap (ByteBuffer src,
ByteBuffer [] dsts,
int offset,
int length)
SSL/TLS 네트워크 데이터를 plaintext의 어플리케이션 데이터 버퍼의 서브 순서에 복호화 하려고 합니다. |
SSLEngineResult |
SSLEngine. wrap (ByteBuffer [] srcs,
ByteBuffer dst)
plaintext 바이트를 데이터 버퍼 순서로부터 SSL/TLS 네트워크 데이터에 encode 하려고 합니다. |
SSLEngineResult |
SSLEngine. wrap (ByteBuffer [] srcs,
ByteBuffer dst)
plaintext 바이트를 데이터 버퍼 순서로부터 SSL/TLS 네트워크 데이터에 encode 하려고 합니다. |
abstract SSLEngineResult |
SSLEngine. wrap (ByteBuffer [] srcs,
int offset,
int length,
ByteBuffer dst)
plaintext 바이트를 데이터 버퍼의 서브 순서로부터 SSL/TLS 네트워크 데이터에 encode 하려고 합니다. |
abstract SSLEngineResult |
SSLEngine. wrap (ByteBuffer [] srcs,
int offset,
int length,
ByteBuffer dst)
plaintext 바이트를 데이터 버퍼의 서브 순서로부터 SSL/TLS 네트워크 데이터에 encode 하려고 합니다. |
SSLEngineResult |
SSLEngine. wrap (ByteBuffer src,
ByteBuffer dst)
plaintext의 어플리케이션 데이터의 버퍼를 SSL/TLS 네트워크 데이터에 encode 하려고 합니다. |
|
JavaTM Platform Standard Ed. 6 |
|||||||||
전 다음 | 프레임 있어 프레임 없음 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.