org.eclipse.xpand2.output
Class FileHandleImpl
java.lang.Object
org.eclipse.xpand2.output.FileHandleImpl
- All Implemented Interfaces:
- FileHandle
public class FileHandleImpl
- extends java.lang.Object
- implements FileHandle
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileHandleImpl
public FileHandleImpl(Outlet outlet,
java.io.File f)
getOutlet
public Outlet getOutlet()
- Specified by:
getOutlet
in interface FileHandle
getBuffer
public java.lang.CharSequence getBuffer()
- Specified by:
getBuffer
in interface FileHandle
setBuffer
public void setBuffer(java.lang.CharSequence buffer)
- Specified by:
setBuffer
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
getFileEncoding
public java.lang.String getFileEncoding()
- Specified by:
getFileEncoding
in interface FileHandle
writeAndClose
public void writeAndClose()
- Specified by:
writeAndClose
in interface FileHandle
getBytes
public byte[] getBytes()