public abstract class LocalFile extends Bean
SERIALIZED_CLASS_NAME, TYPEXML_SERIALIZED_CLASS_NAME| Constructor and Description | 
|---|
LocalFile()  | 
| Modifier and Type | Method and Description | 
|---|---|
LocalFile | 
detectFileType()  | 
LocalFile | 
fromRecord(Record source)
Loads this instance's state from a record and returns  
this (for fluid API call chaining). | 
LocalFile | 
fromXmlElement(Element element)  | 
String | 
getContentType()  | 
File | 
getFile()  | 
long | 
getFileSize()  | 
FileType | 
getFileType()  | 
String | 
getName()  | 
String | 
getPath()  | 
String | 
getUrlPath()  | 
boolean | 
isLocal()  | 
LocalFile | 
setFileType(FileType fileType)  | 
LocalFile | 
setName(String name)  | 
LocalFile | 
setNameFromPath()  | 
LocalFile | 
setPath(String path)  | 
Record | 
toRecord()  | 
Element | 
toXmlElement(Document document)  | 
addExceptionProperties, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfromArrayValue, 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 String getName()
public String getPath()
public File getFile()
public LocalFile setNameFromPath()
public FileType getFileType()
public LocalFile detectFileType()
public String getUrlPath()
public boolean isLocal()
public long getFileSize()
public String getContentType()
public Record toRecord()
toRecord in interface RecordSerializabletoRecord in class Beanpublic LocalFile 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 class BeanCopyright (c) 2006-2025 North Concepts Inc. All Rights Reserved.