public class LocalFileSink extends LocalFile implements FileSink
SERIALIZED_CLASS_NAME, TYPEXML_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, isLocaladdExceptionProperties, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContentType, getFileSize, getFileType, getName, getPath, getUrlPath, isLocalfromArrayValue, fromArrayValue, fromArrayValue, fromJson, fromJson, newInstanceFromRecord, newInstanceFromRecord, toArrayValue, toJson, toJson, toJson, toRecordnewInstanceFromJsonforEachGrandChildElement, fromXml, fromXml, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getChildElement, getChildElements, newInstanceFromXml, newInstanceFromXml, setAttribute, toXml, toXml, toXml, toXml, toXml, writeXml, writeXmladdExceptionProperties, contributeExceptionProperties, contributeExceptionProperties, exception, exception, exceptionpublic OutputStream getOutputStream()
getOutputStream in interface FileSinkpublic LocalFileSink setAppend(boolean append)
public LocalFileSink setName(String name)
public LocalFileSink setPath(String path)
public LocalFileSink setNameFromPath()
setNameFromPath in class LocalFilepublic LocalFileSink setFileType(FileType fileType)
setFileType in class LocalFilepublic Record toRecord()
toRecord in interface RecordSerializabletoRecord in class LocalFilepublic LocalFileSink fromRecord(Record source)
RecordSerializablethis (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 RecordSerializablefromRecord in interface FileSinkfromRecord in class LocalFilepublic LocalFileSink detectFileType()
detectFileType in class LocalFilepublic Element toXmlElement(Document document)
toXmlElement in interface XmlSerializabletoXmlElement in class LocalFilepublic LocalFileSink fromXmlElement(Element localFileSinkElement)
fromXmlElement in interface XmlSerializablefromXmlElement in class LocalFileCopyright (c) 2006-2025 North Concepts Inc. All Rights Reserved.