|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.systems.files.importexport.jar.RemoteJarExportReader
Field Summary | |
---|---|
protected InputStream |
fInputStream
|
Constructor Summary | |
---|---|
RemoteJarExportReader(InputStream inputStream)
Reads a Jar Package from the underlying stream. |
Method Summary | |
---|---|
protected void |
addWarning(String message,
Throwable error)
Adds a new warning to the list with the passed information. |
void |
close()
Closes this stream. |
protected boolean |
getBooleanAttribute(Element element,
String name)
|
protected boolean |
getBooleanAttribute(Element element,
String name,
boolean defaultValue)
|
IStatus |
getStatus()
Returns the status of the reader. |
void |
read(RemoteJarExportData jarPackage)
Reads Jar Package description and fills data into the JAR Package data object. |
RemoteJarExportData |
readXML(RemoteJarExportData jarPackage)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected InputStream fInputStream
Constructor Detail |
public RemoteJarExportReader(InputStream inputStream)
Method Detail |
public void read(RemoteJarExportData jarPackage) throws CoreException
IRemoteJarDescriptionReader
It is the client's responsibility to close this reader.
read
in interface IRemoteJarDescriptionReader
jarPackage
- the object into which data is filled
CoreException
- if read failed, e.g. I/O error during read operationpublic void close() throws CoreException
close
in interface IRemoteJarDescriptionReader
CoreException
public RemoteJarExportData readXML(RemoteJarExportData jarPackage) throws IOException, SAXException
IOException
SAXException
protected boolean getBooleanAttribute(Element element, String name, boolean defaultValue) throws IOException
IOException
protected boolean getBooleanAttribute(Element element, String name) throws IOException
IOException
public IStatus getStatus()
OK
.
getStatus
in interface IRemoteJarDescriptionReader
protected void addWarning(String message, Throwable error)
message
- the message
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |