JavaTM 2 Platform
Standard Ed. 5.0

java.util.zip
Ŭ·¡½º Adler32

java.lang.Object 
  »óÀ§¸¦ È®Àå java.util.zip.Adler32
¸ðµç ±¸ÇöµÈ ÀÎÅÍÆäÀ̽º:
Checksum

public class Adler32
extends Object
implements Checksum

µ¥ÀÌÅÍ ½ºÆ®¸²ÀÇ Adler-32 üũ ¼¶À» °è»êÇϱâ À§Çؼ­ »ç¿ëÇϴ Ŭ·¡½ºÀÔ´Ï´Ù. Adler-32 üũ ¼¶Àº CRC-32¿Í µ¿ÀÏÇÑ Á¤µµÀÇ ½Å·Ú¼ºÀÌ ÀÖ½À´Ï´Ù¸¸, ¶ÇÇÑ °í¼ÓÀÇ °è»êÀÌ °¡´ÉÇÕ´Ï´Ù.

°ü·Ã Ç׸ñ:
Checksum

»ý¼ºÀÚ °³¿ä
Adler32 ()
          »õ·Î¿î Adler32 °´Ã¼¸¦ »ý¼ºÇÕ´Ï´Ù.
 
¸Þ¼­µå °³¿ä
 long getValue ()
          Ã¼Å© ¼¶Ä¡¸¦ ¸®ÅÏÇÕ´Ï´Ù.
 void reset ()
          Ã¼Å© ¼¶À» ÃʱⰪ¿¡ ¸®¼Â ÇÕ´Ï´Ù.
 void update (byte[] b)
          ÁöÁ¤µÈ ¹ÙÀÌÆ® ¹è¿­·Î üũ ¼¶À» °»½ÅÇÕ´Ï´Ù.
 void update (byte[] b, int off, int len)
          ÁöÁ¤µÈ ¹ÙÀÌÆ® ¹è¿­·Î üũ ¼¶À» °»½ÅÇÕ´Ï´Ù.
 void update (int b)
          ÁöÁ¤µÈ ¹ÙÀÌÆ®·Î üũ ¼¶À» °»½ÅÇÕ´Ï´Ù.
 
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼­µå
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

»ý¼ºÀÚ »ó¼¼

Adler32

public Adler32()
»õ·Î¿î Adler32 °´Ã¼¸¦ »ý¼ºÇÕ´Ï´Ù.

¸Þ¼­µåÀÇ »ó¼¼

update

public void update(int b)
ÁöÁ¤µÈ ¹ÙÀÌÆ®·Î üũ ¼¶À» °»½ÅÇÕ´Ï´Ù.

Á¤ÀÇ:
ÀÎÅÍÆäÀ̽º Checksum ³»ÀÇ update
ÆĶó¹ÌÅÍ:
b - ¹ÙÀÌÆ®ÀÇ ¹è¿­

update

public void update(byte[] b,
                   int off,
                   int len)
ÁöÁ¤µÈ ¹ÙÀÌÆ® ¹è¿­·Î üũ ¼¶À» °»½ÅÇÕ´Ï´Ù.

Á¤ÀÇ:
ÀÎÅÍÆäÀ̽º Checksum ³»ÀÇ update
ÆĶó¹ÌÅÍ:
b - üũ ¼¶ÀÇ °»½Å¿¡ »ç¿ëÇÏ´Â ¹ÙÀÌÆ® ¹è¿­
off - µ¥ÀÌÅÍÀÇ °³½Ã ¿ÀÇÁ¼Â(offset)
len - °»½Å¿¡ »ç¿ëÇÏ´Â ¹ÙÀÌÆ®¼ö

update

public void update(byte[] b)
ÁöÁ¤µÈ ¹ÙÀÌÆ® ¹è¿­·Î üũ ¼¶À» °»½ÅÇÕ´Ï´Ù.


reset

public void reset()
üũ ¼¶À» ÃʱⰪ¿¡ ¸®¼Â ÇÕ´Ï´Ù.

Á¤ÀÇ:
ÀÎÅÍÆäÀ̽º Checksum ³»ÀÇ reset

getValue

public long getValue()
üũ ¼¶Ä¡¸¦ ¸®ÅÏÇÕ´Ï´Ù.

Á¤ÀÇ:
ÀÎÅÍÆäÀ̽º Checksum ³»ÀÇ getValue
¹Ýȯ°ª:
üũ ¼¶ÀÇ ÇöÀç°¡

JavaTM 2 Platform
Standard Ed. 5.0

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.