@StableMinor(version="12.5", sinceVersion="6.1") public class FileParameter extends File
pathSeparator, pathSeparatorChar, separator, separatorChar
Constructor and Description |
---|
FileParameter(String serviceInstanceId,
String pathname,
String contentType,
long size) |
Modifier and Type | Method and Description |
---|---|
String |
getContentType() |
IFileMetadata |
getMetadata()
Retrieves the metadata of the file.
|
long |
getSize() |
canExecute, canRead, canWrite, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getFreeSpace, getName, getParent, getParentFile, getPath, getTotalSpace, getUsableSpace, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setExecutable, setExecutable, setLastModified, setReadable, setReadable, setReadOnly, setWritable, setWritable, toPath, toString, toURI, toURL
public String getContentType()
public long getSize()
public IFileMetadata getMetadata() throws PortalException
PortalException
LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.