|
tauZaman v0.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--tauzaman.io.FieldsBuilder
FieldsBuilder
class builds Fields
object
of a Property
. Given a Property
, it parses
its Format
, and creates Field
for each
variable in Format
. If there are ImportFormat
s
it recursively request this class's service.
Field Summary | |
private Fields |
fields
|
private java.lang.StringBuffer |
newFormat
|
private PropertyManager |
pm
|
private Property |
property
|
Constructor Summary | |
protected |
FieldsBuilder(java.lang.String propertyName,
java.net.URL url,
PropertyManager pm)
Constructs a FieldsBuilder object ready to form Fields . |
Method Summary | |
protected Fields |
formFields()
Returns built Fields . |
protected Fields |
getFields()
Returns Property 's newly built Fields . |
protected java.lang.String |
getFormat()
Returns Property 's newly built Format 's value. |
protected boolean |
getWhitespace()
Returns whitespace characteristic of Property 's Format . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private PropertyManager pm
private Property property
private Fields fields
private java.lang.StringBuffer newFormat
Constructor Detail |
protected FieldsBuilder(java.lang.String propertyName, java.net.URL url, PropertyManager pm) throws IOException
FieldsBuilder
object ready to form Fields
.
propertyName
- name of the Property
whose Fields
will be formedurl
- URL of the Property
whose Fields
will be formedpm
- PropertyManager
that will be used for Property
services
IOException
- if any abnormal condition occurs when building Fields
. These
are related to Property
exceptionsMethod Detail |
protected Fields formFields() throws IOException
Fields
.
Fields
IOException
- if any abnormal condition occurs when building Fields
. These
are related to parsing and building problems of Fields
protected java.lang.String getFormat()
Property
's newly built Format
's value.
Format
's valueprotected Fields getFields()
Property
's newly built Fields
.
Fields
protected boolean getWhitespace()
Property
's Format
.
Format
|
tauZaman v0.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |