de.smartics.properties.config.transfer.filesystem
Class Factory

Package class diagram package Factory
java.lang.Object
  extended by de.smartics.properties.config.transfer.filesystem.Factory
All Implemented Interfaces:
PropertySinkFactory< FileSystemPropertySink>

public final class Factory
     
     
extends Object
implements PropertySinkFactory< FileSystemPropertySink>

Creates instances of FileSystemPropertySink.


Constructor Summary
Factory()
          Default constructor.
 
Method Summary
 FileSystemPropertySink create()
          Creates an instance of PropertySink.
 void setOutputFormat(String outputFormat)
          Sets the format the property definition files will be written to.
 void setTargetFolder(String targetFolder)
          Sets the name of the folder the properties definitions are written to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Factory

public Factory()
Default constructor.

Method Detail

setTargetFolder

public void setTargetFolder(String targetFolder)
Sets the name of the folder the properties definitions are written to.

Parameters:
targetFolder - the name of the folder the properties definitions are written to.

setOutputFormat

public void setOutputFormat(String outputFormat)
Sets the format the property definition files will be written to.

Parameters:
outputFormat - the format the property definition files will be written to.

create

public FileSystemPropertySink create()
Description copied from interface: PropertySinkFactory
Creates an instance of PropertySink.

Specified by:
create in interface PropertySinkFactory<FileSystemPropertySink>
Returns:
an instance of PropertySink.


Copyright © 2012-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.