org.openarchitectureware.compiler.runtime.util
Class CompiledPostprocessFileHandle

java.lang.Object
  extended by org.openarchitectureware.compiler.runtime.util.CompiledPostprocessFileHandle
All Implemented Interfaces:
FileHandle

public class CompiledPostprocessFileHandle
extends java.lang.Object
implements FileHandle


Constructor Summary
CompiledPostprocessFileHandle(Outlet outlet, EfficientLazyString content, java.io.File targetFile)
           
 
Method Summary
 java.lang.CharSequence getBuffer()
           
 EfficientLazyString getContent()
           
 java.lang.String getFileEncoding()
           
 Outlet getOutlet()
           
 java.io.File getTargetFile()
           
 boolean isAppend()
           
 boolean isOverwrite()
           
 void setBuffer(java.lang.CharSequence buffer)
           
 void writeAndClose()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompiledPostprocessFileHandle

public CompiledPostprocessFileHandle(Outlet outlet,
                                     EfficientLazyString content,
                                     java.io.File targetFile)
Method Detail

getContent

public EfficientLazyString getContent()

getBuffer

public java.lang.CharSequence getBuffer()
Specified by:
getBuffer in interface FileHandle

getFileEncoding

public java.lang.String getFileEncoding()
Specified by:
getFileEncoding in interface FileHandle

getOutlet

public Outlet getOutlet()
Specified by:
getOutlet in interface FileHandle

getTargetFile

public java.io.File getTargetFile()
Specified by:
getTargetFile in interface FileHandle

isAppend

public boolean isAppend()
Specified by:
isAppend in interface FileHandle

isOverwrite

public boolean isOverwrite()
Specified by:
isOverwrite in interface FileHandle

setBuffer

public void setBuffer(java.lang.CharSequence buffer)
Specified by:
setBuffer in interface FileHandle

writeAndClose

public void writeAndClose()
Specified by:
writeAndClose in interface FileHandle