|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.instassm.XmlFragment
com.ptc.windchill.instassm.InstalledTempPatch
A class for reading the temporary patch files for individual installed assemblies.
Supported API: false
Extendable: false
Field Summary | |
private String |
description_
|
private String |
name_
|
Constructor Summary | |
(package private) |
InstalledTempPatch(Element element)
|
|
InstalledTempPatch(File file)
Read the installed temporary patch file from the given file. |
|
InstalledTempPatch(InputStream input_stream)
Read the installed temporary patch file from the given file. |
|
InstalledTempPatch(String name,
String description)
|
Method Summary | |
(package private) static InstalledTempPatch[] |
findInstalledTempPatches()
|
String |
getDescription()
The description of the installed temporary patch. |
String |
getName()
The name for the installed temporary patch. |
protected String |
getRootElementName()
|
protected String |
getSaveToFileName()
|
protected void |
initFrom(Element element)
|
static void |
main(String[] args)
|
void |
saveToDir(File dir)
Save the fragment as a file into a specified directory. |
void |
saveToRegistryDir()
Save the fragment as a file into the registry dir that IAConstants has been initialized with. |
protected void |
setAttributesOn(Element element)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private String name_
private String description_
Constructor Detail |
public InstalledTempPatch(File file) throws IAException
file
-
IAException
- if the file is not found, if the contents of the file are malformed, or if the rel id in the file is inconsistent with the name fo the filepublic InstalledTempPatch(InputStream input_stream) throws IAException
input_stream
- InputStream containing just the .ia content. The stream will not be closed when reading is complete.
IAException
- if the file is not found, if the contents of the file are malformed, or if the rel id in the file is inconsistent with the name fo the fileInstalledTempPatch(Element element) throws IAException
public InstalledTempPatch(String name, String description) throws IAException
Method Detail |
protected void initFrom(Element element) throws IAException
initFrom
in class XmlFragment
IAException
protected void setAttributesOn(Element element)
setAttributesOn
in class XmlFragment
public String getName()
public String getDescription()
protected String getSaveToFileName()
getSaveToFileName
in class XmlFragment
protected String getRootElementName()
getRootElementName
in class XmlFragment
static InstalledTempPatch[] findInstalledTempPatches() throws IAException
IAException
public static void main(String[] args) throws IAException
IAException
public void saveToRegistryDir() throws IAException
IAException
IAConstants
public void saveToDir(File dir) throws IAException
IAException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |