JavaTM 2
Platform
Std.  Ed.  v1. 4.0

java.util.jar
Ŭ·¡½º Manifest

java.lang.Object 
  |
  +--java.util.jar.Manifest
¸ðµç ±¸Çö ÀÎÅÍÆäÀ̽º:
Cloneable

public class Manifest
extends Object
implements Cloneable

Manifest Ŭ·¡½º´Â Manifest ÀÇ ¿£Æ®¸®¸í°ú °Å±â¿¡ °ü·ÃÇÑ Attributes ¸¦ °ü¸®Çϱâ À§Çؼ­ »ç¿ëÇÕ´Ï´Ù. ¿£Æ®¸®¸¶´ÙÀÇ Attributes ¿Ü¿¡, ¸ÞÀÎÀÌ µÇ´Â Manifest Attributes °¡ ÀÖ½À´Ï´Ù. Manifest Çü½Ä¿¡ ´ëÇØ¼­´Â ÀÌÇϸ¦ ÂüÁ¶ÇØ ÁÖ¼¼¿ä. ¡¸¸¶´ÏÆä½ºÆ® Æ÷¸Ë¡¹

µµÀÔµÈ ¹öÁ¯:
1.2
°ü·Ã Ç׸ñ:
Attributes

»ý¼ºÀÚÀÇ °³¿ä
Manifest ()
          »õ·Î¿î ÇÏ´ÃÀÇ Manifest ¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
Manifest (InputStream  is)
          ÁöÁ¤µÈ ÀÔ·Â ½ºÆ®¸²À¸·ÎºÎÅÍ »õ·Î¿î Manifest ¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
Manifest (Manifest  man)
          ÁöÁ¤µÈ Manifest ÀÇ Ä«ÇÇÀÎ »õ·Î¿î Manifest ¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
 
¸Þ¼ÒµåÀÇ °³¿ä
 void clear ()
          ÀÌ Manifest ÀÇ ¸ÞÀÎÀÌ µÇ´Â Attributes ¿Í ¿£Æ®¸®¸¦ Ŭ¸®¾î ÇÕ´Ï´Ù.
 Object clone ()
          ÀÌ Manifest ÀÇ »þ·ÎÄÚÇǸ¦ µ¹·ÁÁÝ´Ï´Ù.
 boolean equals (Object  o)
          ÁöÁ¤µÈ Object °¡ Manifest À̱⵵ ÇØ, ±× ¸ÞÀÎÀÌ µÇ´Â Attributes ¹× ¿£Æ®¸®°¡ µ¿ÀÏÇÑ °æ¿ì¿¡ true ¸¦ µ¹·ÁÁÝ´Ï´Ù.
 Attributes getAttributes (String  name)
          ÁöÁ¤µÈ ¿£Æ®¸®¸íÀÇ Attributes ¸¦ µ¹·ÁÁÝ´Ï´Ù.
 Map getEntries ()
          ÀÌ Manifest ¿¡ ÀúÀåµÇ°í ÀÖ´Â ¿£Æ®¸®ÀÇ Map ¸¦ µ¹·ÁÁÝ´Ï´Ù.
 Attributes getMainAttributes ()
          Manifest ÀÇ ¸ÞÀÎÀÌ µÇ´Â Attributes ¸¦ µ¹·ÁÁÝ´Ï´Ù.
 int hashCode ()
          ÀÌ Manifest ÀÇ ÇØ½Ã Äڵ带 µ¹·ÁÁÝ´Ï´Ù.
 void read (InputStream  is)
          ÁöÁ¤µÈ InputStream ·ÎºÎÅÍ Manifest ¸¦ Àоî³À´Ï´Ù.
 void write (OutputStream  out)
          ÁöÁ¤µÈ OutputStream ¿¡ Manifest ¸¦ ±âÀÔÇÕ´Ï´Ù.
 
Ŭ·¡½º java.lang. Object ¿¡¼­ »ó¼Ó¹ÞÀº ¸Þ¼Òµå
finalize , getClass , notify , notifyAll , toString , wait , wait , wait
 

»ý¼ºÀÚÀÇ »ó¼¼

Manifest

public Manifest()
»õ·Î¿î ÇÏ´ÃÀÇ Manifest ¸¦ ÀÛ¼ºÇÕ´Ï´Ù.


Manifest

public Manifest(InputStream  is)
         throws IOException 
ÁöÁ¤µÈ ÀÔ·Â ½ºÆ®¸²À¸·ÎºÎÅÍ »õ·Î¿î Manifest ¸¦ ÀÛ¼ºÇÕ´Ï´Ù.

ÆÄ¶ó¹ÌÅÍ:
is - ¸¶´ÏÆä½ºÆ® µ¥ÀÌÅ͸¦ Æ÷ÇÔÇÑ ÀÔ·Â ½ºÆ®¸²
¿¹¿Ü:
IOException - ÀÔÃâ·Â ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì

Manifest

public Manifest(Manifest  man)
ÁöÁ¤µÈ Manifest ÀÇ Ä«ÇÇÀÎ »õ·Î¿î Manifest ¸¦ ÀÛ¼ºÇÕ´Ï´Ù.

ÆÄ¶ó¹ÌÅÍ:
man - Ä«ÇÇ ´ë»óÀÇ Manifest
¸Þ¼ÒµåÀÇ »ó¼¼

getMainAttributes

public Attributes  getMainAttributes()
Manifest ÀÇ ¸ÞÀÎÀÌ µÇ´Â Attributes ¸¦ µ¹·ÁÁÝ´Ï´Ù.

¹Ýȯ°ª:
Manifest ÀÇ ¸ÞÀÎÀÌ µÇ´Â Attributes

getEntries

public Map  getEntries()
ÀÌ Manifest ¿¡ ÀúÀåµÇ°í ÀÖ´Â ¿£Æ®¸®ÀÇ Map ¸¦ µ¹·ÁÁÝ´Ï´Ù. °¢ ¿£Æ®¸®´Â String ¸í (Ű)°ú °ü·ÃÇÑ Attributes (°ª)·Î ³ªÅ¸³»Áý´Ï´Ù.

¹Ýȯ°ª:
Manifest ¿¡ Æ÷ÇԵǾî ÀÖ´Â ¿£Æ®¸®ÀÇ Map

getAttributes

public Attributes  getAttributes(String  name)
ÁöÁ¤µÈ ¿£Æ®¸®¸íÀÇ Attributes ¸¦ µ¹·ÁÁÝ´Ï´Ù. ÀÌ ¸Þ¼Òµå´Â ´ÙÀ½°ú °°ÀÌ Á¤Àǵ˴ϴÙ.
	    return (Attributes) getEntries(). get(name)

ÆÄ¶ó¹ÌÅÍ:
name - ¿£Æ®¸®¸í
¹Ýȯ°ª:
ÁöÁ¤ÇÑ ¿£Æ®¸®¸íÀÇ Attributes

clear

public void clear()
ÀÌ Manifest ÀÇ ¸ÞÀÎÀÌ µÇ´Â Attributes ¿Í ¿£Æ®¸®¸¦ Ŭ¸®¾î ÇÕ´Ï´Ù.


write

public void write(OutputStream  out)
           throws IOException 
ÁöÁ¤µÈ OutputStream ¿¡ Manifest ¸¦ ±âÀÔÇÕ´Ï´Ù. ÀÌ ¸Þ¼Òµå¸¦ È£ÃâÇϱâ Àü¿¡, MainAttributes ¿¡ ´ëÇØ Attributes.Name.MANIFEST_VERSION ¸¦ ¼³Á¤ÇÒ Çʿ䰡 ÀÖ½À´Ï´Ù.

ÆÄ¶ó¹ÌÅÍ:
out - Ãâ·Â ½ºÆ®¸²
¿¹¿Ü:
IOException - ÀÔÃâ·Â ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì
°ü·Ã Ç׸ñ:
getMainAttributes()

read

public void read(InputStream  is)
          throws IOException 
ÁöÁ¤µÈ InputStream ·ÎºÎÅÍ Manifest ¸¦ Àоî³À´Ï´Ù. ÀоÁö´Â ¿£Æ®¸®¸í ¹× ¼Ó¼ºÀº ÇöÀçÀÇ ¸¶´ÏÆä½ºÆ® ¿£Æ®¸®¿¡ merge µË´Ï´Ù.

ÆÄ¶ó¹ÌÅÍ:
is - ÀÔ·Â ½ºÆ®¸²
¿¹¿Ü:
IOException - ÀÔÃâ·Â ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì

equals

public boolean equals(Object  o)
ÁöÁ¤µÈ Object °¡ Manifest À̱⵵ ÇØ, ±× ¸ÞÀÎÀÌ µÇ´Â Attributes ¹× ¿£Æ®¸®°¡ µ¿ÀÏÇÑ °æ¿ì¿¡ true ¸¦ µ¹·ÁÁÝ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º Object ³»ÀÇ equals
ÆÄ¶ó¹ÌÅÍ:
o - ºñ±³ ´ë»óÀÇ ¿ÀºêÁ§Æ®
¹Ýȯ°ª:
ÁöÁ¤µÈ Object °¡ Manifest À̱⵵ ÇØ, ±× ¸ÞÀÎÀÌ µÇ´Â Attributes ¹× ¿£Æ®¸®°¡ µ¿ÀÏÇÑ °æ¿ì´Â true
°ü·Ã Ç׸ñ:
Object.hashCode() , Hashtable

hashCode

public int hashCode()
ÀÌ Manifest ÀÇ ÇØ½Ã Äڵ带 µ¹·ÁÁÝ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º Object ³»ÀÇ hashCode
¹Ýȯ°ª:
ÀÌ ¿ÀºêÁ§Æ®ÀÇ ÇØ½Ã ÄÚµåÄ¡
°ü·Ã Ç׸ñ:
Object.equals(java.lang.Object) , Hashtable

clone

public Object  clone()
ÀÌ Manifest ÀÇ »þ·ÎÄÚÇǸ¦ µ¹·ÁÁÝ´Ï´Ù. »þ·ÎÄÚÇÇ´Â ´ÙÀ½°ú °°ÀÌ ±¸ÇöµË´Ï´Ù.
     public Object clone() { return new Manifest(this); }
 

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º Object ³»ÀÇ clone
¹Ýȯ°ª:
ÀÌ Manifest ÀÇ »þ·ÎÄÚÇÇ
°ü·Ã Ç׸ñ:
Cloneable

JavaTM 2
Platform
Std.  Ed.  v1. 4.0

¹ö±×ÀÇ º¸°í¿Í ±â´ÉÀÇ ¸®Äù½ºÆ®
ÀÌ¿ÜÀÇ API ·¹ÆÛ·±½º ¹× °³¹ßÀÚ¿ë ¹®¼­¿¡ ´ëÇØ¼­´Â Java 2 SDK SE °³¹ßÀÚ¿ë ¹®¼­¸¦ ÂüÁ¶ÇØ ÁÖ¼¼¿ä. °³¹ßÀÚÀü¿ëÀÇ »ó¼¼ÇÑ ÇØ¼³, °³³äÀÇ °³¿ä, ¿ë¾îÀÇ Á¤ÀÇ, ¹ö±×ÀÇ È¸ÇÇÃ¥, ¹× ÄÚµå ½Ç·Ê°¡ Æ÷ÇԵǾî ÀÖ½À´Ï´Ù.

Java, Java 2 D, ¹× JDBC ´Â ¹Ì±¹ ¹× ±× ¿ÜÀÇ ³ª¶ó¿¡ À־ÀÇ ¹Ì±¹ Sun Microsystems, Inc. ÀÇ »óÇ¥ ȤÀº µî·Ï»óÇ¥ÀÔ´Ï´Ù.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.