de.espirit.firstspirit.generate
Class AbstractContentProcessor
java.lang.Object
de.espirit.firstspirit.generate.AbstractContentProcessor
- All Implemented Interfaces:
- ContentProcessor
public abstract class AbstractContentProcessor
- extends Object
- implements ContentProcessor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_ENCODING
public static final String DEFAULT_ENCODING
- See Also:
- Constant Field Values
AbstractContentProcessor
public AbstractContentProcessor()
init
public void init(GenerationContext gc,
OutputStream out)
throws IOException
- Specified by:
init
in interface ContentProcessor
- Throws:
IOException
getGenerationContext
protected GenerationContext getGenerationContext()
getFileEncoding
protected String getFileEncoding()
- Returns
AbstractContentProcessor.DEFAULT_ENCODING
finish
public final void finish()
throws IOException
- Specified by:
finish
in interface ContentProcessor
- Throws:
IOException
cleanUp
public void cleanUp()
- Specified by:
cleanUp
in interface ContentProcessor
getWriter
public Writer getWriter()
- Specified by:
getWriter
in interface ContentProcessor
needsPrivilegedAccessToMediafiles
public boolean needsPrivilegedAccessToMediafiles()
- Returns
false
.
- Specified by:
needsPrivilegedAccessToMediafiles
in interface ContentProcessor
process
protected abstract void process(InputStream in,
OutputStream out)
throws IOException
- Throws:
IOException
Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480