|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.dse.base.Externalizer
com.ibm.dse.base.ServiceExternalizer
Field Summary |
---|
Fields inherited from class com.ibm.dse.base.Externalizer |
---|
numberOfObjects, tagClassTable, tagInputStream, TYPE_CONTEXT, TYPE_DATA, TYPE_FORMAT, TYPE_OPERATION, TYPE_PROCESSOR, TYPE_SERVICE, TYPE_SETTINGS, TYPE_TYPE, TYPE_UNKNOWN, TYPE_VIEW |
Constructor Summary | |
---|---|
ServiceExternalizer()
ServiceExternalizer default constructor. |
|
ServiceExternalizer(java.lang.String option,
java.io.BufferedInputStream aIniStream)
This constructor initializes an Externalizer object. |
|
ServiceExternalizer(java.lang.String option,
java.lang.String pathAndFile)
This constructor initializes an Externalizer object. |
Method Summary | |
---|---|
java.lang.Object |
convertTagToObject(Tag aTag)
Converts a tag to an object and initializes the object's attributes. |
protected Externalizer |
createNewExternalizer()
Returns a new externalizer for the generic service file. |
void |
end()
Releases resources from this externalizer. |
void |
makeTagClassTable()
Creates a tagClassTable with the values in the DSE.INI file (path is settings.tags.services). |
void |
reset()
Sets a new service externalizer to Service. |
void |
reset(java.util.Enumeration listTagId)
Resets the definition of tags whose tag id appears in listTagId. |
void |
reset(java.lang.String tagId)
Resets the definition of the tag with id tagId. |
protected void |
reset(java.lang.String tagId,
TagInputStream aTagInputStream)
Resets the definition of the service entity with id equals to tagId. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ServiceExternalizer()
public ServiceExternalizer(java.lang.String option, java.io.BufferedInputStream aIniStream) throws java.io.IOException
option
- java.lang.StringaIniStream
- java.io.BufferedInputStream containing the input datapublic ServiceExternalizer(java.lang.String option, java.lang.String pathAndFile) throws java.io.IOException
option
- java.lang.StringpathAndFile
- java.lang.String specifying the name and path of the formats definition fileMethod Detail |
public java.lang.Object convertTagToObject(Tag aTag) throws java.io.IOException
convertTagToObject
in class Externalizer
aTag
- Tag
java.io.IOException
protected Externalizer createNewExternalizer() throws java.io.IOException, DSEObjectNotFoundException
java.io.IOException
DSEObjectNotFoundException
public void end()
end
in class Externalizer
public void makeTagClassTable()
makeTagClassTable
in class Externalizer
public void reset() throws java.io.IOException, DSEObjectNotFoundException
java.io.IOException
DSEObjectNotFoundException
public void reset(java.lang.String tagId) throws java.io.IOException, DSEObjectNotFoundException
tagId
- java.lang.String - The id of the tag to reset
java.io.IOException
DSEObjectNotFoundException
protected void reset(java.lang.String tagId, TagInputStream aTagInputStream) throws java.io.IOException
tagId
- java.lang.StringaTagInputStream
- com.ibm.dse.base.TagInputStream
java.io.IOException
public void reset(java.util.Enumeration listTagId) throws java.io.IOException, DSEObjectNotFoundException
listTagId
- java.util.Enumeration
java.io.IOException
DSEObjectNotFoundException
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |