org.databene.document.properties
Class BeanPropertiesFileWriter<E>
java.lang.Object
org.databene.script.ScriptedDocumentWriter<E>
org.databene.document.properties.BeanPropertiesFileWriter<E>
- All Implemented Interfaces:
- DocumentWriter<E>
public class BeanPropertiesFileWriter<E>
- extends ScriptedDocumentWriter<E>
Writes JavaBeans to property files.
Created: 07.06.2007 13:05:38
- Author:
- Volker Bergmann
|
Constructor Summary |
BeanPropertiesFileWriter(java.io.Writer out,
java.lang.String... propertyNames)
|
BeanPropertiesFileWriter(java.io.Writer out,
java.lang.String prefixPattern,
Script headerScript,
Script footerScript,
java.lang.String... propertyNames)
|
BeanPropertiesFileWriter(java.io.Writer out,
java.lang.String prefixPattern,
java.lang.String headerScriptUrl,
java.lang.String footerScriptUrl,
java.lang.String... propertyNames)
|
|
Method Summary |
static
|
persist(T bean,
java.lang.String filename)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanPropertiesFileWriter
public BeanPropertiesFileWriter(java.io.Writer out,
java.lang.String... propertyNames)
BeanPropertiesFileWriter
public BeanPropertiesFileWriter(java.io.Writer out,
java.lang.String prefixPattern,
java.lang.String headerScriptUrl,
java.lang.String footerScriptUrl,
java.lang.String... propertyNames)
throws java.io.IOException
- Throws:
java.io.IOException
BeanPropertiesFileWriter
public BeanPropertiesFileWriter(java.io.Writer out,
java.lang.String prefixPattern,
Script headerScript,
Script footerScript,
java.lang.String... propertyNames)
persist
public static <T> void persist(T bean,
java.lang.String filename)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2010. All Rights Reserved.