|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CanyonOutputProvider
This class represents the output that Canyon uses to persist objects to. Out of the box Canyon provides three options File, Property and Provider. To use simply use the correct attribute in the output element of the canyon.cfg.xml file. For file
<output file="<absolute path to the file>"/>For property
<output property="<property name>"/>The value of the property should be the absolute path to the input file For custom provider
<output provider="<full class name>"/>
| Method Summary | |
|---|---|
java.io.OutputStream[] |
getOutputStreams(java.util.Properties properties)
Returns an array of output streams to be used for output data |
void |
validate(java.util.Properties properties)
Is called to validate the files, so that Canyon can operate on them |
| Method Detail |
|---|
java.io.OutputStream[] getOutputStreams(java.util.Properties properties)
properties - - the properties defined in the configuration
void validate(java.util.Properties properties)
throws CanyonException
properties - - the properties defined in the configuration
CanyonException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||