|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IFormat
The IFormat interface defines a generic interface to retrieve the appropriate formatter for a Brahms object and to write write the object out in the specified format. A Format determines based on the actual class of the Brahms object which formatter to use.
Method Summary | |
---|---|
IFormatter |
getFormatter(BrahmsObject obj)
Returns the formatter for the given object. |
void |
writeFormat(BrahmsObject obj,
java.util.Properties p,
java.io.DataOutputStream out)
Writes the given object out in the format defined for that object. |
Method Detail |
---|
IFormatter getFormatter(BrahmsObject obj)
obj
- the BrahmsObject to be formatted
void writeFormat(BrahmsObject obj, java.util.Properties p, java.io.DataOutputStream out)
obj
- the BrahmsObject to be written out in this formatp
- the Properties relevant for the formatting of the outputout
- the DataOutputStream to write the format output to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |