public class LocalFileSource extends LocalFile implements FileSource
SERIALIZED_CLASS_NAME, TYPEXML_SERIALIZED_CLASS_NAME| Constructor and Description |
|---|
LocalFileSource() |
| Modifier and Type | Method and Description |
|---|---|
LocalFileSource |
detectFileType() |
LocalFileSource |
fromRecord(Record source)
Loads this instance's state from a record and returns
this (for fluid API call chaining). |
LocalFileSource |
fromXmlElement(Element element) |
InputStream |
getInputStream() |
LocalFileSource |
setFileType(FileType fileType) |
LocalFileSource |
setName(String name) |
LocalFileSource |
setNameFromPath() |
LocalFileSource |
setPath(String path) |
Element |
toXmlElement(Document document) |
getContentType, getFile, getFileSize, getFileType, getName, getPath, getUrlPath, isLocal, toRecordaddExceptionProperties, 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, toRecord, 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 InputStream getInputStream()
getInputStream in interface FileSourcepublic LocalFileSource setName(String name)
public LocalFileSource setPath(String path)
public LocalFileSource setNameFromPath()
setNameFromPath in class LocalFilepublic LocalFileSource setFileType(FileType fileType)
setFileType in class LocalFilepublic LocalFileSource 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 FileSourcefromRecord in class LocalFilepublic LocalFileSource detectFileType()
detectFileType in class LocalFilepublic Element toXmlElement(Document document)
toXmlElement in interface XmlSerializabletoXmlElement in class LocalFilepublic LocalFileSource fromXmlElement(Element element)
fromXmlElement in interface XmlSerializablefromXmlElement in class LocalFileCopyright (c) 2006-2025 North Concepts Inc. All Rights Reserved.