|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.ocpware.writer.AbstractWriter
public abstract class AbstractWriter
This is an abstract base class for ΩCP writers which handles the application of a resource bundle.
| Constructor Summary | |
|---|---|
AbstractWriter()
Creates a new object. |
|
| Method Summary | |
|---|---|
protected boolean |
booleanResource(java.lang.String key)
Extract a boolean value from a resource bundle. |
protected java.lang.String |
format(java.lang.String key,
java.lang.Object... a)
Apply a message format and handle exceptions gracefully. |
protected int |
room(java.util.List<int[]> a)
Compute the sum of length of a list of arrays. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.extex.ocpware.writer.OcpWriter |
|---|
write |
| Constructor Detail |
|---|
public AbstractWriter()
| Method Detail |
|---|
protected int room(java.util.List<int[]> a)
a - a list of arrays
protected java.lang.String format(java.lang.String key,
java.lang.Object... a)
key - the resource keya - the arguments
protected boolean booleanResource(java.lang.String key)
key - the key in the resource bundle
false
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||