public class LocalFileSink extends LocalFile implements FileSink
SERIALIZED_CLASS_NAME, TYPE
XML_SERIALIZED_CLASS_NAME
Constructor and Description |
---|
LocalFileSink() |
Modifier and Type | Method and Description |
---|---|
LocalFileSink |
detectFileType() |
LocalFileSink |
fromRecord(Record source)
Loads this instance's state from a record and returns
this (for fluid API call chaining). |
LocalFileSink |
fromXmlElement(Element localFileSinkElement) |
OutputStream |
getOutputStream() |
boolean |
isAppend() |
LocalFileSink |
setAppend(boolean append) |
LocalFileSink |
setFileType(FileType fileType) |
LocalFileSink |
setName(String name) |
LocalFileSink |
setNameFromPath() |
LocalFileSink |
setPath(String path) |
Record |
toRecord() |
Element |
toXmlElement(Document document) |
getContentType, getFile, getFileSize, getFileType, getName, getPath, getUrlPath, isLocal
addExceptionProperties, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getContentType, getFileSize, getFileType, getName, getPath, getUrlPath, isLocal
fromArrayValue, fromArrayValue, fromArrayValue, fromJson, fromJson, newInstanceFromRecord, newInstanceFromRecord, toArrayValue, toJson, toJson, toJson, toRecord
newInstanceFromJson
forEachGrandChildElement, fromXml, fromXml, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getChildElement, getChildElements, newInstanceFromXml, newInstanceFromXml, setAttribute, toXml, toXml, toXml, toXml, toXml, writeXml, writeXml
addExceptionProperties, contributeExceptionProperties, contributeExceptionProperties, exception, exception, exception
public OutputStream getOutputStream()
getOutputStream
in interface FileSink
public LocalFileSink setAppend(boolean append)
public LocalFileSink setName(String name)
public LocalFileSink setPath(String path)
public LocalFileSink setNameFromPath()
setNameFromPath
in class LocalFile
public LocalFileSink setFileType(FileType fileType)
setFileType
in class LocalFile
public Record toRecord()
toRecord
in interface RecordSerializable
toRecord
in class LocalFile
public LocalFileSink fromRecord(Record source)
RecordSerializable
this
(for fluid API call chaining).
For fluid API call chaining, the overridden method should change the declared return type to its class.fromRecord
in interface RecordSerializable
fromRecord
in interface FileSink
fromRecord
in class LocalFile
public LocalFileSink detectFileType()
detectFileType
in class LocalFile
public Element toXmlElement(Document document)
toXmlElement
in interface XmlSerializable
toXmlElement
in class LocalFile
public LocalFileSink fromXmlElement(Element localFileSinkElement)
fromXmlElement
in interface XmlSerializable
fromXmlElement
in class LocalFile
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.