|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjava.util.jar.Manifest
public class Manifest
Manifest Ŭ·¡½º´Â Manifest ¿£Æ®¸®¸í°ú °Å±â¿¡ °ü·ÃÇÑ Attributes¸¦ °ü¸®Çϱâ À§Çؼ »ç¿ëÇÕ´Ï´Ù. ¿£Æ®¸®¸¶´ÙÀÇ Attributes ¿Ü¿¡ ¸ÞÀÎÀÌ µÇ´Â Manifest Attributes°¡ ÀÖ½À´Ï´Ù. Manifest Çü½Ä¿¡ ´ëÇØ¼´Â ¡¸MANIFEST ÀÇ »ç¾ç¡¹À» ÂüÁ¶ÇϽʽÿÀ.
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 <String,
Attributes > |
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 |
»ý¼ºÀÚ »ó¼¼ |
---|
public Manifest()
public Manifest(InputStream is) throws IOException
is
- MANIFEST
µ¥ÀÌÅ͸¦ Æ÷ÇÔÇÑ ÀÔ·Â ½ºÆ®¸²
IOException
- ÀÔÃâ·Â ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ìpublic Manifest(Manifest man)
man
- º¹Á¦ ´ë»óÀÇ Manifest¸Þ¼µåÀÇ »ó¼¼ |
---|
public Attributes getMainAttributes()
public Map <String, Attributes > getEntries()
public Attributes getAttributes(String name)
return (Attributes) getEntries(). get(name)
name
- ¿£Æ®¸®¸í
public void clear()
public void write(OutputStream out) throws IOException
out
- Ãâ·Â ½ºÆ®¸²
IOException
- ÀÔÃâ·Â ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ìgetMainAttributes()
public void read(InputStream is) throws IOException
is
- ÀÔ·Â ½ºÆ®¸²
IOException
- ÀÔÃâ·Â ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ìpublic boolean equals(Object o)
Object
³»ÀÇ equals
o
- ºñ±³ ´ë»óÀÇ °´Ã¼
Object.hashCode()
,
Hashtable
public int hashCode()
Object
³»ÀÇ hashCode
Object.equals(java.lang.Object)
,
Hashtable
public Object clone()
public Object clone() { return new Manifest(this); }
Object
³»ÀÇ clone
Cloneable
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.