|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.config.transfer.filesystem.FileSystemPropertySink
public final class FileSystemPropertySink
Writes properties to a folder.
Constructor Summary | |
---|---|
FileSystemPropertySink(File targetFolder) Convenience constructor to create native properties files. |
|
FileSystemPropertySink(File targetFolder, PropertiesFormat outputFormat) Default constructor. |
Method Summary | |
---|---|
void |
clear() |
void |
close() |
void |
write(Iterable<de.smartics.properties.api.config.domain.PropertyProvider> providers) |
void |
write(de.smartics.properties.api.config.domain.PropertyProvider provider) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileSystemPropertySink(File targetFolder)
targetFolder
- the name of the folder the properties definitions are written to.
public FileSystemPropertySink(File targetFolder, PropertiesFormat outputFormat) throws NullPointerException
targetFolder
- the name of the folder the properties definitions are written to.
outputFormat
- the format the property definition files will be written to.
NullPointerException
- if
targetFolder
or
outputFormat
is
null
.
Method Detail |
---|
public void clear() throws de.smartics.properties.api.config.transfer.TransferException
clear
in interface
de.smartics.properties.api.config.transfer.PropertySink
de.smartics.properties.api.config.transfer.TransferException
public void write(de.smartics.properties.api.config.domain.PropertyProvider provider) throws de.smartics.properties.api.config.transfer.TransferException
write
in interface
de.smartics.properties.api.config.transfer.PropertySink
de.smartics.properties.api.config.transfer.TransferException
public void write(Iterable<de.smartics.properties.api.config.domain.PropertyProvider> providers) throws de.smartics.properties.api.config.transfer.TransferException
write
in interface
de.smartics.properties.api.config.transfer.PropertySink
de.smartics.properties.api.config.transfer.TransferException
public void close() throws de.smartics.properties.api.config.transfer.TransferException
This is a no-op.
close
in interface
de.smartics.properties.api.config.transfer.PropertySink
de.smartics.properties.api.config.transfer.TransferException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |