|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertySink
A sink to write properties to.
Method Summary | |
---|---|
void |
clear() Removes all information from the sink. |
void |
close() Closes the sink. |
void |
write(Iterable<PropertyProvider> providers) Writes the property definitions provided by the given providers. |
void |
write(PropertyProvider provider) Writes the property definitions provided by the given provider. |
Method Detail |
---|
void clear() throws TransferException
TransferException
- on any problem clearing the sink.
void write(PropertyProvider provider) throws TransferException
It is assumed that the writing is transactional. If it is not, the implementation should document that it isn't.
provider
- the provider of property definitions.
TransferException
- on any problem writing the definitions to this sink.
void write(Iterable<PropertyProvider> providers) throws TransferException
It is assumed that the writing is transactional. If it is not, the implementation should document that it isn't.
providers
- the list of providers to add their property definitions.
TransferException
- on any problem writing property definitions to this sink.
void close() throws TransferException
TransferException
- on any problem closing the sink.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |