|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rioproject.util.RioManifest
public class RioManifest
Utility for getting the Rio Attributes from a Jar File.
The Rio attributes are:
"Rio-Build:", for example:
Manifest-Version: 1.0
Rio-Build: 20070602
| Field Summary | |
|---|---|
static Attributes.Name |
RIO_BUILD
|
| Constructor Summary | |
|---|---|
RioManifest(InputStream in)
|
|
RioManifest(Manifest manifest)
|
|
RioManifest(URL url)
|
|
| Method Summary | |
|---|---|
void |
close()
|
Attributes |
getEntry(String name)
Get an Entry from a Jar file |
String |
getMainAttribute(Attributes.Name name)
Get an Attribute from a Jar file |
String |
getMainAttribute(String name)
Get an Attribute from a Jar file |
Attributes |
getMainAttributes()
|
Manifest |
getManifest()
Getter for property manifest. |
String |
getRioBuild()
Get the Rio Build from a Jar file |
void |
setManifest(Manifest manifest)
Setter for property manifest. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Attributes.Name RIO_BUILD
| Constructor Detail |
|---|
public RioManifest(URL url)
throws IOException
IOException
public RioManifest(InputStream in)
throws IOException
IOExceptionpublic RioManifest(Manifest manifest)
| Method Detail |
|---|
public void close()
throws IOException
IOException
public String getRioBuild()
throws IOException
IOException
public String getMainAttribute(String name)
throws IOException
name - the name of the main attribute entry
IOException
public String getMainAttribute(Attributes.Name name)
throws IOException
name - the name of the main attribute entry
IOException
public Attributes getEntry(String name)
throws IOException
name - the name of the entry
IOException
public Attributes getMainAttributes()
throws IOException
IOExceptionpublic Manifest getManifest()
public void setManifest(Manifest manifest)
manifest - New value of property manifest.
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||